diff --git a/app/views/collections/show.html.erb b/app/views/collections/show.html.erb index 3df30ce..4d2bd88 100644 --- a/app/views/collections/show.html.erb +++ b/app/views/collections/show.html.erb @@ -16,6 +16,7 @@
<% if has_role?("admin") %>
<%= link_to "Update collection", edit_collection_path(@collection) %> +
<%= link_to "New album", new_collection_album_path(@collection) %> <% end %>
<%= link_to "All collections", collections_path %>
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 8951e33..7bd58e4 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -17,7 +17,7 @@

ImageGallery