Sha256: 211fbbe5cd2ae3c5f7d9ea2489fcd21a6dc55ea9d816f6da916f91e0bc473461

Contents?: true

Size: 166 Bytes

Versions: 14

Compression:

Stored size: 166 Bytes

Contents

class ACLMethod < EmptyController
  access_control :as_method => :acl do
    allow all, :to => [:index, :show]
    allow :admin, :except => [:index, :show]
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
careacademy-acl9-3.4.0 test/dummy/app/controllers/acl_method.rb
careacademy-acl9-3.3.0 test/dummy/app/controllers/acl_method.rb
acl9-3.2.0 test/dummy/app/controllers/acl_method.rb
acl9-3.1.0 test/dummy/app/controllers/acl_method.rb
acl9-3.0.0 test/dummy/app/controllers/acl_method.rb
acl9-2.1.2 test/dummy/app/controllers/acl_method.rb
acl9-2.1.1 test/dummy/app/controllers/acl_method.rb
acl9-2.1.0 test/dummy/app/controllers/acl_method.rb
acl9-2.0.0 test/dummy/app/controllers/acl_method.rb
acl9-1.3.0 test/dummy/app/controllers/acl_method.rb
acl9-1.2.1 test/dummy/app/controllers/acl_method.rb
acl9-1.2.0 test/dummy/app/controllers/acl_method.rb
acl9-1.1.0 test/dummy/app/controllers/acl_method.rb
acl9-1.0.0 test/dummy/app/controllers/acl_method.rb