Add the 'Add a New Video' link to the main video page
authorIra W. Snyder <devel@irasnyder.com>
Sun, 25 Nov 2007 02:57:49 +0000 (18:57 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Sun, 25 Nov 2007 02:57:49 +0000 (18:57 -0800)
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
app/views/video/index.rhtml
app/views/video/new.rhtml

index 142c363..3256908 100644 (file)
@@ -4,4 +4,5 @@
 <ul>
   <li><%= link_to 'List All Videos', :action => 'list' %></li>
   <li><%= link_to 'Search for a Video', :action => 'search' %></li>
+  <li><%= link_to 'Add a New Video', :action => 'new' %></li>
 </ul>
index 66bbda4..cf2572b 100644 (file)
@@ -5,4 +5,4 @@
   <%= submit_tag "Create" %>
 <% end %>
 
-<%= link_to 'Back', :action => 'list' %>
+<%= link_to 'Back', :action => 'index' %>