Skip to content
Snippets Groups Projects
Commit 2a51ada5 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

Merge branch 'master' of gitlab.c3sl.ufpr.br:portalmec/portalmec

parents ce9a034f 2b8ec050
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ class CollectionsController < ApplicationController ...@@ -6,7 +6,7 @@ class CollectionsController < ApplicationController
# GET /collections.json # GET /collections.json
def index def index
if user_signed_in? if user_signed_in?
@collections = collection_repository.all Collections::UserPublicContext.new(current_user) @collections = collection_repository.all Collections::UserContext.new(current_user)
else else
@collections = collection_repository.all @collections = collection_repository.all
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment