summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-06-29 11:57:59 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-06-29 11:57:59 -0700
commit7765dd6a1d04189da49b8a36ffc5bb8d22e5184f (patch)
tree59a8e2aa59a7e14f367f284c899b652de447491f /app/models
parent6205e45727db4d6720b7c3dc6ce010872b4f1628 (diff)
downloadgitlab-ce-7765dd6a1d04189da49b8a36ffc5bb8d22e5184f.tar.gz
bugfix: use `require_dependency` to bring in DeclarativePolicybugfix/declarative-policy-reloading
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ability.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index d2b8a8447b5..0b6bcbde5d9 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -1,4 +1,4 @@
-require 'declarative_policy'
+require_dependency 'declarative_policy'
class Ability
class << self