Sha256: 73e1a17f7a35e507e2b1b041790857a15a0026d409aeacbdca4038f6bdcbdbbf
Contents?: true
Size: 281 Bytes
Versions: 14
Compression:
Stored size: 281 Bytes
Contents
class ACLQueryMethodWithLambda < ApplicationController attr_accessor :current_user access_control :query_method => :acl? do allow :editor, :to => [:edit, :update, :destroy] allow :viewer, :to => [:index, :show] allow :owner, :of => :foo, :to => :fooize end end
Version data entries
14 entries across 14 versions & 2 rubygems