diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 01:37:12 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 01:37:12 +0000 |
commit | 74d5f6ec0c7e1c91b3620d6785689a765f505069 (patch) | |
tree | a6f4ff38ce5d365addc24efebfcc2761be7ea2e8 /actionpack | |
parent | e4efcfd43e60c4a6eb1def4ecb976e2a3fc8702f (diff) | |
download | rails-74d5f6ec0c7e1c91b3620d6785689a765f505069.tar.gz rails-74d5f6ec0c7e1c91b3620d6785689a765f505069.tar.bz2 rails-74d5f6ec0c7e1c91b3620d6785689a765f505069.zip |
Fixed some docing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index b800f423c6..a522b34f73 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -1,4 +1,5 @@ module ActionController + # See http://manuals.rubyonrails.com/read/chapter/65 module Routing ROUTE_FILE = defined?(RAILS_ROOT) ? File.expand_path(File.join(RAILS_ROOT, 'config', 'routes')) : nil @@ -293,7 +294,7 @@ module ActionController end end - def self.draw(*args, &block) + def self.draw(*args, &block) #:nodoc: Routes.draw(*args) {|*args| block.call(*args)} end |