instance method confirm_javascript_function

Ruby on Rails 2.2.3

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

confirm_javascript_function(confirm)

No documentation comment.

Parameters

confirm req
Source
# File actionpack/lib/action_view/helpers/url_helper.rb, line 560
        def confirm_javascript_function(confirm)
          "confirm('#{escape_javascript(confirm)}')"
        end

Defined in actionpack/lib/action_view/helpers/url_helper.rb line 560 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::UrlHelper

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close