i put a search box in application.html.erb and created a controller
action,
but i don’t know how to route to the controller action
Might be like this
<%= form_tag {controller: controller_name, action: action_name } do %>
…
…
<% end %>
On Tue, Jan 5, 2016 at 6:10 AM, fugee ohu [email protected] wrote:
.
For more options, visit https://groups.google.com/d/optout.
–
Karthikeyan A K
https://goo.gl/NYcfo3 - My Ruby Book