<h1>Feeds available</h1>
-<% form_tag :action => 'update' do %>
+<%= form_tag update_path do %>
<p>Set feed <%= text_field_tag :feed_name, '', :size => 20 %>
to include <%= text_field_tag :title, '', :size => 30 %>
containing <%= text_field_tag :description, '', :size => 50 %>
<h1>Contents of feed <%= h params[:feed_name] %></h1>
<p><%= link_to("List of all feeds", index_path) %></p>
-<% form_tag :action => 'update' do %>
+<%= form_tag update_path do %>
<p>Set feed <%= text_field_tag :feed_name, h(params[:feed_name]), :size => 20 %>
to include <%= text_field_tag :title, '', :size => 30 %>
containing <%= text_field_tag :description, '', :size => 50 %>
get 'index', to: 'feed#index', as: :index
get ':feed_name', to: 'feed#show', as: :feed
- post '*ignored', to: 'feed#update', as: :update
+ post '', to: 'feed#update', as: :update
# Example of regular route:
# get 'products/:id' => 'catalog#view'