method

rewrite

rails latest stable - Class: ActionController::UrlRewriter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

rewrite(options = {})
public

No documentation available.

# File actionpack/lib/action_controller/url_rewriter.rb, line 161
    def rewrite(options = {})
      if options.include?(:overwrite_params)
        ActiveSupport::Deprecation.warn 'The :overwrite_params option is deprecated. Specify all the necessary parameters instead', caller
      end
      rewrite_url(options)
    end