module

ActionView::Helpers::UrlHelper

rails latest stable

Action View URL Helpers

Provides a set of methods for making links and getting URLs that depend on the routing subsystem (see ActionDispatch::Routing). This allows you to use the same format for links in views and controllers.

Included modules

  • ActionView::Helpers::ContentExfiltrationPreventionHelper
  • ActionView::Helpers::TagHelper

Constants

BUTTON_TAG_METHOD_VERBS = %w{patch put delete}

STRINGIFIED_COMMON_METHODS = {\nget: "get",\ndelete: "delete",\npatch: "patch",\npost: "post",\nput: "put",\n}.freeze

Files

  • actionview/lib/action_view/helpers/url_helper.rb