Sha256: d1247ab43953faae2005598b7380d012c2a02a49a17d7be368f66a14e95d6465

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require "access-granted/exceptions"
require "access-granted/policy"
require "access-granted/permission"
require "access-granted/role"
require 'access-granted/rails/controller_methods'

module AccessGranted

end

if defined? ActionController::Base
  ActionController::Base.class_eval do
    include AccessGranted::Rails::ControllerMethods
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
access-granted-0.2 lib/access-granted.rb