Tapes are now Clips, also they have categories
This commit is contained in:
parent
86c489be72
commit
c8732b6332
41 changed files with 347 additions and 148 deletions
9
app/views/categories/index.html.erb
Normal file
9
app/views/categories/index.html.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<h1>Categories</h1>
|
||||
|
||||
<%= link_to "New category", new_category_path if authenticated? %>
|
||||
|
||||
<ul id="categories">
|
||||
<% @categories.each do |category| %>
|
||||
<li><%= link_to category.name, category %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue