Method: RjsHelper#js_redirect_to
- Defined in:
- app/helpers/rjs_helper.rb
#js_redirect_to(url) ⇒ Object
Redirects the user to the given URL using javascript
57 58 59 |
# File 'app/helpers/rjs_helper.rb', line 57 def js_redirect_to(url) rjs_method :redirect_to, url_for(url) end |