Flowdock
method

update_page_tag

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Helpers::PrototypeHelper
update_page_tag(html_options = {}, &block) public

Works like update_page but wraps the generated JavaScript in a <script> tag. Use this to include generated JavaScript in an ERb template. See JavaScriptGenerator for more information.

html_options may be a hash of <script> attributes to be passed to ActionView::Helpers::JavaScriptHelper#javascript_tag.

Show source
Register or log in to add new notes.