Commit 7765dd6a authored by http://jneen.net/'s avatar http://jneen.net/

bugfix: use `require_dependency` to bring in DeclarativePolicy

parent 6205e457
require 'declarative_policy' require_dependency 'declarative_policy'
class Ability class Ability
class << self class << self
......
require 'declarative_policy' require_dependency 'declarative_policy'
class BasePolicy < DeclarativePolicy::Base class BasePolicy < DeclarativePolicy::Base
desc "User is an instance admin" desc "User is an instance admin"
......
require 'declarative_policy' require_dependency 'declarative_policy'
module API module API
# Projects 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