URL helper methods are public
This commit is contained in:
parent
080099955a
commit
6325fd7adb
@ -105,7 +105,7 @@ def url_for(options = nil)
|
||||
end
|
||||
else
|
||||
method = _generate_paths_by_default ? :path : :url
|
||||
builder = ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder.send(method)
|
||||
builder = ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder.public_send(method)
|
||||
|
||||
case options
|
||||
when Symbol
|
||||
|
Loading…
Reference in New Issue
Block a user