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 wrote:
> 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 act
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
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails f
2 matches
Mail list logo