From cc0e402aa870fa710d6b6189dc090244b4462308 Mon Sep 17 00:00:00 2001 From: wycats Date: Tue, 23 Mar 2010 14:08:31 -0700 Subject: Protect routes again so they don't end up as actions. We need a better solution than this. --- actionpack/lib/action_dispatch/routing/route_set.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 52f3fd1610..bb689beed9 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -179,6 +179,7 @@ module ActionDispatch url_for(options) end + protected :#{selector} END_EVAL helpers << selector end -- cgit v1.2.3