Display and forms seem to work
[feedcatcher.git] / app / views / feed / show.html.erb
index a491835a6b4bdbcb9f5aff4798d7dc6a759d7c27..789debd9573fc0f0edf7fecafd2dc46895e429e6 100644 (file)
@@ -1,7 +1,7 @@
 <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 %>