• A
    Always use original url_for when generating direct routes · fd16e1a9
    Andrew White 提交于
    Action View overrides `url_for` in the view context to render paths by
    default when using `url_for` and this means that direct route helpers
    don't get the full url when called with the url suffix. To fix this
    always call the original `url_for`.
    fd16e1a9
polymorphic_routes_test.rb 19.4 KB