@@ -932,9 +932,6 module ApplicationHelper | |||
|
932 | 932 | end |
|
933 | 933 | |
|
934 | 934 | def link_to_content_update(text, url_params = {}, html_options = {}) |
|
935 | link_to_remote(text, | |
|
936 | {:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, | |
|
937 | {:href => url_for(:params => url_params)}.merge(html_options) | |
|
938 | ) | |
|
935 | link_to(text, url_params, html_options) | |
|
939 | 936 | end |
|
940 | 937 | end |
General Comments 0
You need to be logged in to leave comments.
Login now