aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-03-23 14:08:31 -0700
committerwycats <wycats@gmail.com>2010-03-23 14:09:08 -0700
commitcc0e402aa870fa710d6b6189dc090244b4462308 (patch)
tree58f430584215cd1e9af61cb02ba0a2377d76040e
parente47a1d7865f40ae70a4c38e7ea792843641f3bcb (diff)
downloadrails-cc0e402aa870fa710d6b6189dc090244b4462308.tar.gz
rails-cc0e402aa870fa710d6b6189dc090244b4462308.tar.bz2
rails-cc0e402aa870fa710d6b6189dc090244b4462308.zip
Protect routes again so they don't end up as actions. We need a better solution than this.
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb1
1 files changed, 1 insertions, 0 deletions
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