mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Protect routes again so they don't end up as actions. We need a better solution than this.
This commit is contained in:
@@ -179,6 +179,7 @@ module ActionDispatch
|
||||
|
||||
url_for(options)
|
||||
end
|
||||
protected :#{selector}
|
||||
END_EVAL
|
||||
helpers << selector
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user