diff options
author | Carl Lerche <me@carllerche.com> | 2010-09-17 12:27:48 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2010-09-17 12:27:48 -0700 |
commit | 117daba18a269988292ce3872683fba0517d31df (patch) | |
tree | e31a212c1f8f7dd789cf162e732b3d7c96738848 /railties/lib/rails/application/finisher.rb | |
parent | 7418a440967586851a182bbcd6d93dbba9497cdb (diff) | |
download | rails-117daba18a269988292ce3872683fba0517d31df.tar.gz rails-117daba18a269988292ce3872683fba0517d31df.tar.bz2 rails-117daba18a269988292ce3872683fba0517d31df.zip |
Update Rails' built in routes to use RouteSet#append
Diffstat (limited to 'railties/lib/rails/application/finisher.rb')
-rw-r--r-- | railties/lib/rails/application/finisher.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index 8fd2aa0bce..b95df467c7 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -27,7 +27,9 @@ module Rails initializer :add_builtin_route do |app| if Rails.env.development? - app.routes_reloader.paths << File.expand_path('../../info_routes.rb', __FILE__) + app.routes.append do + match '/rails/info/properties' => "rails/info#properties" + end end end |