From cad20f720c4c6e04584253cd0a23f22b3d43ab0f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 1 Mar 2015 13:35:24 -0800 Subject: 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 --- actionpack/lib/action_dispatch/routing/url_for.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'actionpack/lib/action_dispatch') 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 -- cgit v1.2.3