Skip to content
Snippets Groups Projects
Commit 5fb4e9f9 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

fix collection context query

parent 44b830fc
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
protected
def set_current_user_collections
@user_collections = collection_repository.all current_user
@user_collections = collection_repository.all Collections::UserPrivateContext.new(current_user)
end
def configure_permitted_parameters
......
......@@ -6,8 +6,8 @@ module Collections
end
def from
sprintf "select expand(in('BelongsTo')) from %s)", @user.rid
sprintf "(select expand(in('BelongsTo')) from %s)", @user.rid
end
end
end
\ No newline at end of file
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