diff options
author | zhengjia <jiazheng@live.com> | 2010-11-16 09:26:21 -0600 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-11-21 03:29:43 +0100 |
commit | 4a51328ae8d51f8d1a637780d5b82fd27261758f (patch) | |
tree | 1f2e0e6af97c89f7adf37450c876017032d5bd82 /railties | |
parent | 3d377454dbeb9ab9fc0a4d491498c237e33e8d4b (diff) | |
download | rails-4a51328ae8d51f8d1a637780d5b82fd27261758f.tar.gz rails-4a51328ae8d51f8d1a637780d5b82fd27261758f.tar.bz2 rails-4a51328ae8d51f8d1a637780d5b82fd27261758f.zip |
Minor fix on Rails:Railtie documentation
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/railtie.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb index c76bc83377..030a838dc1 100644 --- a/railties/lib/rails/railtie.rb +++ b/railties/lib/rails/railtie.rb @@ -97,7 +97,7 @@ module Rails # If your railtie has rake tasks, you can tell Rails to load them through the method # rake tasks: # - # class MyRailtie < Railtie + # class MyRailtie < Rails::Railtie # rake_tasks do # load "path/to/my_railtie.tasks" # end @@ -107,7 +107,7 @@ module Rails # your generators at a different location, you can specify in your Railtie a block which # will load them during normal generators lookup: # - # class MyRailtie < Railtie + # class MyRailtie < Rails::Railtie # generators do # require "path/to/my_railtie_generator" # end |