Added routes, display seems to work so long as you remove the forms from the views.
[feedcatcher.git] / app / views / feed / show.html.erb
index 2a2b9b1daaaad4094886073444761803d9270618..a491835a6b4bdbcb9f5aff4798d7dc6a759d7c27 100644 (file)
@@ -1,5 +1,5 @@
 <h1>Contents of feed <%= h params[:feed_name] %></h1>
-<p><%= link_to("List of all feeds", index_url) %></p>
+<p><%= link_to("List of all feeds", index_path) %></p>
 
 <% form_tag :action => 'update' do %>
   <p>Set feed <%= text_field_tag :feed_name, h(params[:feed_name]), :size => 20 %>
@@ -8,7 +8,6 @@
     <%= submit_tag 'Update' %></p>
 <% end %>
 
-
 <dl>
   <% for item in @feed_items %>
     <dt><%= h item.title %></dt>