Home How can I convert rails 2 link_to_remote into rails 4
Reply: 0

How can I convert rails 2 link_to_remote into rails 4

user649
1#
user649 Published in August 15, 2018, 11:15 am

Here is my code in rails 2 having link_to_remote

 <%= link_to_remote l(:button_apply),
            { :url => { :set_filter => 1, :project_id => @project.id, :per_page => @per_page },
                               :method => :get,
                               :project_id => @project.id,
                               :update => "tru_balance_list",
                               :complete => "apply_filters_observer()",
                               :with => "Form.serialize('query_form')"
                             }, :class => 'icon icon-checked tru_apply' %>
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.290517 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO