diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-21 20:15:27 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-21 20:15:27 -0600 |
commit | 426348b48403f664cc10e8ec545b640e56c1c090 (patch) | |
tree | abbcac7646f0dba168a5685ee646c3e7f90d8e66 /railties/lib/rails/generators/actions.rb | |
parent | 36624b2c709925bcabb49d12082b9dd9d28c4c5c (diff) | |
download | rails-426348b48403f664cc10e8ec545b640e56c1c090.tar.gz rails-426348b48403f664cc10e8ec545b640e56c1c090.tar.bz2 rails-426348b48403f664cc10e8ec545b640e56c1c090.zip |
Update routes.rb template to use App name
Diffstat (limited to 'railties/lib/rails/generators/actions.rb')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index 2efdf29127..f95b15acce 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -273,7 +273,7 @@ module Rails # def route(routing_code) log :route, routing_code - sentinel = "ActionController::Routing::Routes.draw do |map|" + sentinel = "routes.draw do |map|" in_root do inject_into_file 'config/routes.rb', "\n #{routing_code}\n", { :after => sentinel, :verbose => false } |