From f032d2638deedab08a4420a6cf331d86615b92a0 Mon Sep 17 00:00:00 2001
From: Mateus Rambo Strey <mars11@inf.ufpr.br>
Date: Tue, 3 Nov 2015 11:03:19 -0200
Subject: [PATCH] change user collections context in application controller

---
 app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 6a321b9f..42f9105d 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
   protected
 
   def set_current_user_collections
-    @user_collections = collection_repository.all Collections::UserPrivateContext.new(current_user)
+    @user_collections = collection_repository.all Collections::UserContext.new(current_user)
   end
 
   def configure_permitted_parameters
-- 
GitLab