Permalink
Browse files

Don't really care about reloading routes when inflections are

changed.
  • Loading branch information...
1 parent eeb1f47 commit ef771552b74aa03925c201603f9430602192e818 @josh josh committed Nov 24, 2009
Showing with 0 additions and 11 deletions.
  1. +0 −11 actionpack/lib/action_dispatch/routing.rb
@@ -366,16 +366,5 @@ def controller_relative_to(controller, previous)
end
end
end
-
- ActiveSupport::Inflector.module_eval do
- # Ensures that routes are reloaded when Rails inflections are updated.
- def inflections_with_route_reloading(&block)
- returning(inflections_without_route_reloading(&block)) {
- ActionDispatch::Routing::Routes.reload! if block_given?
- }
- end
-
- alias_method_chain :inflections, :route_reloading
- end
end
end

0 comments on commit ef77155

Please sign in to comment.