diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-01 13:35:24 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-03-01 13:35:24 -0800 |
commit | cad20f720c4c6e04584253cd0a23f22b3d43ab0f (patch) | |
tree | 73907286156d949077e2cbb655d41d06ca7405f5 /actionpack/lib/action_dispatch | |
parent | 1d10b4bdacf02e6089d2d8f3e379890db9874d12 (diff) | |
download | rails-cad20f720c4c6e04584253cd0a23f22b3d43ab0f.tar.gz rails-cad20f720c4c6e04584253cd0a23f22b3d43ab0f.tar.bz2 rails-cad20f720c4c6e04584253cd0a23f22b3d43ab0f.zip |
move _generate_paths_by_default to where it is used
_generate_paths_by_default wasn't used in AD::Routing::UrlFor, so we
should be able to move it where it is used in AV::Routing
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/url_for.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb index dca86858cc..eb554ec383 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -184,12 +184,6 @@ module ActionDispatch def _routes_context self end - - private - - def _generate_paths_by_default - true - end end end end |