projects
/
feedcatcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added routes, display seems to work so long as you remove the forms from the views.
[feedcatcher.git]
/
app
/
views
/
feed
/
show.html.erb
diff --git
a/app/views/feed/show.html.erb
b/app/views/feed/show.html.erb
index 2a2b9b1daaaad4094886073444761803d9270618..a491835a6b4bdbcb9f5aff4798d7dc6a759d7c27 100644
(file)
--- a/
app/views/feed/show.html.erb
+++ b/
app/views/feed/show.html.erb
@@
-1,5
+1,5
@@
<h1>Contents of feed <%= h params[:feed_name] %></h1>
<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 %>
<% 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 %>
<%= submit_tag 'Update' %></p>
<% end %>
-
<dl>
<% for item in @feed_items %>
<dt><%= h item.title %></dt>
<dl>
<% for item in @feed_items %>
<dt><%= h item.title %></dt>