X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Ffeed%2Findex.html.erb;h=8ffe63884981f2de648a02e2731f076405eb7033;hb=0c831f9107670526c653c82f182b0b6983f49c31;hp=d72a9bee5f48e95577f94373b2b541a5b587fa5b;hpb=d790a8da6d9f6b3d07c62cf9cabc1abcf8ed09c2;p=feedcatcher.git

diff --git a/app/views/feed/index.html.erb b/app/views/feed/index.html.erb
index d72a9be..8ffe638 100644
--- a/app/views/feed/index.html.erb
+++ b/app/views/feed/index.html.erb
@@ -1,14 +1,15 @@
 <h1>Feeds available</h1>
 
 <% form_tag :action => 'update' do %>
-  <p>Set feed <%= text_field_tag :new_feed_name, '', :size => 20 %>
+  <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 %>
     <%= submit_tag 'Update' %></p>
 <% end %>
 
+
 <ul>
 <% for feed in @feeds %>
-  <li><%= link_to(h(feed.feed_name), (feed_url(:feed_name => feed.feed_name))) %></li>
+  <li><%= link_to( h(feed.feed_name), (feed_path(:feed_name => feed.feed_name))) %></li>
 <% end %>
 </ul>
\ No newline at end of file