aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-11-23 18:59:17 -0600
committerJoshua Peek <josh@joshpeek.com>2009-11-23 18:59:48 -0600
commitef771552b74aa03925c201603f9430602192e818 (patch)
tree7ec8f4941151a989952e67f0d87f1e8ad202449d /actionpack/lib/action_dispatch/routing.rb
parenteeb1f472a5561e769b7e6df923f4c91a7d72379d (diff)
downloadrails-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/action_dispatch/routing.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing.rb11
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