Sha256: 6c220efaec4e06b3c88bdea6b768945842a94d2bf3c99d7c60efb9885cd3d496
Contents?: true
Size: 176 Bytes
Versions: 6
Compression:
Stored size: 176 Bytes
Contents
class BasePolicy < Canner::Policy # results expected to be an array or strings or symbols that represent the user roles def fetch_roles @current_user.roles end end
Version data entries
6 entries across 6 versions & 1 rubygems