Sha256: ec54f14d5b22f9b38b5032c647b3d84315c543673b562b9aa160fa4f9d57cd9e
Contents?: true
Size: 806 Bytes
Versions: 1
Compression:
Stored size: 806 Bytes
Contents
require File.join(%w{declarative_authorization rails_legacy}) require File.join(%w{declarative_authorization helper}) require File.join(%w{declarative_authorization in_controller}) require File.join(%w{declarative_authorization in_model}) require File.join(%w{declarative_authorization obligation_scope}) min_rails_version = "2.1.0" if Rails::VERSION::STRING < min_rails_version raise "declarative_authorization requires Rails #{min_rails_version}. You are using #{Rails::VERSION::STRING}." end require File.join(%w{declarative_authorization railsengine}) if defined?(::Rails::Engine) ActionController::Base.send :include, Authorization::AuthorizationInController ActionController::Base.helper Authorization::AuthorizationHelper #ActiveRecord::Base.send :include, Authorization::AuthorizationInModel
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graylog2-declarative_authorization-0.5.2 | lib/declarative_authorization.rb |