Sha256: 1622de5847f1d62dd460a30fa603829ed0bb6cad0b00481f2fe41b878739ecb5
Contents?: true
Size: 277 Bytes
Versions: 14
Compression:
Stored size: 277 Bytes
Contents
require 'cantango/api/current_users' module CurrentUserAccounts include CurrentUsers def current_user_account ::UserAccount.new(current_user, :roles => [:user]) end def current_admin_account ::UserAccount.new(current_admin, :roles => [:admin]) end end
Version data entries
14 entries across 14 versions & 1 rubygems