diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-11-23 18:59:17 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-11-23 18:59:48 -0600 |
commit | ef771552b74aa03925c201603f9430602192e818 (patch) | |
tree | 7ec8f4941151a989952e67f0d87f1e8ad202449d /actionpack/lib | |
parent | eeb1f472a5561e769b7e6df923f4c91a7d72379d (diff) | |
download | rails-ef771552b74aa03925c201603f9430602192e818.tar.gz rails-ef771552b74aa03925c201603f9430602192e818.tar.bz2 rails-ef771552b74aa03925c201603f9430602192e818.zip |
Don't really care about reloading routes when inflections are
changed.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index 68ed1e3340..016cf62ce7 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -366,16 +366,5 @@ module ActionDispatch 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 |