Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= link_to raw('<i class="fa fa-check fa-lg"></i>'), {:action => :exampleaction, :id => obj.id}, :class => 'btn', :method => 'put'%>
- <%= link_to raw('<i class="fa fa-check fa-lg"></i>'), {:action => :exampleaction, :id => obj.id}, {:class => 'btn', :method => 'put'} %>
- <%= link_to raw('<i class="fa fa-check fa-lg"></i>'), examplecontrollers_exampleaction_path(:id => obj.id), {:class => 'btn', :method => 'put'} %>
- <%= link_to raw('<i class="fa fa-check fa-lg"></i>'), examplecontrollers_exampleaction_path(:id => obj.id), {:class => 'btn', :method => :put} %>
- <%= link_to raw('<i class="fa fa-check fa-lg"></i>'), examplecontrollers_exampleaction_path(:id => obj.id), {:class => 'btn', method: :put} %>
- put 'examplecontrollers/exampleaction' => "examplecontrollers#exampleaction", :as => 'exampleaction'
- put 'examplecontrollers/exampleaction'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement