BigW Consortium Gitlab

Commit 7765dd6a by http://jneen.net/

bugfix: use `require_dependency` to bring in DeclarativePolicy

parent 6205e457
require 'declarative_policy'
require_dependency 'declarative_policy'
class Ability
class << self
......
require 'declarative_policy'
require_dependency 'declarative_policy'
class BasePolicy < DeclarativePolicy::Base
desc "User is an instance admin"
......
require 'declarative_policy'
require_dependency 'declarative_policy'
module API
# Projects API
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment