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

fixing wrong constants

parent 655985dd
No related branches found
No related tags found
No related merge requests found
##
# This class represents an specification for listing collections
# The PublicContext class specify all collections with field privacy=public
class Collections::PublicContext < Collections::Context
class Collections::PublicContext < Context
def from
'Collection'
......
class UserContext < Collections::Context
class UserContext < Context
def initialize(user)
@user = user
......
##
# This class represents an specification for listing collections
# The PublicContext class specify all collections with field privacy=public
class Collections::UserPrivateContext < Collections::UserContext
class Collections::UserPrivateContext < UserContext
def privacy
'private'
......
##
# This class represents an specification for listing collections
# The PublicContext class specify all collections with field privacy=public
class Collections::UserPublicContext < Collections::UserContext
class Collections::UserPublicContext < UserContext
def privacy
'public'
......
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