private Method

UrlHelper.popup_javascript_function(popup)

There's no documentation for this item.

Source Code

# File action_view/helpers/url_helper.rb, line 469
def popup_javascript_function(popup)
  popup.is_a?(Array) ? "window.open(this.href,'#{popup.first}','#{popup.last}');" : "window.open(this.href);"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.