Permalink
Browse files

Merge pull request #6555 from schneems/schneems/remove-reload-code

Remove Unused Route Reloading Code
  • Loading branch information...
2 parents 1b07522 + 0460949 commit 61bb6c2eb77515c390326e3cfb4c5b789df74123 @rafaelfranca rafaelfranca committed May 30, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 railties/lib/rails/tasks/routes.rake
@@ -1,8 +1,6 @@
desc 'Print out all defined routes in match order, with names. Target specific controller with CONTROLLER=x.'
task :routes => :environment do
- Rails.application.reload_routes!
all_routes = Rails.application.routes.routes
-
require 'rails/application/route_inspector'
inspector = Rails::Application::RouteInspector.new
puts inspector.format(all_routes, ENV['CONTROLLER']).join "\n"

0 comments on commit 61bb6c2

Please sign in to comment.