diff options
| author | cedricnjanga | 2017-07-18 12:32:16 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2017-07-19 10:13:23 +0200 | 
| commit | ca4902a828a702f677637029493d9de6a7b5433b (patch) | |
| tree | 43b80c1b845cdf698b13ed77df27cba8db2c53a8 /app | |
| parent | 1039a32677434bac1816e48939db5f1040a6862d (diff) | |
| download | chouette-core-ca4902a828a702f677637029493d9de6a7b5433b.tar.bz2 | |
Remove organisation_match for clone? in Referential policy
Diffstat (limited to 'app')
| -rw-r--r-- | app/policies/referential_policy.rb | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/app/policies/referential_policy.rb b/app/policies/referential_policy.rb index 9d0a92093..fdc80516c 100644 --- a/app/policies/referential_policy.rb +++ b/app/policies/referential_policy.rb @@ -20,7 +20,7 @@ class ReferentialPolicy < ApplicationPolicy    def clone? -    !archived? && organisation_match? && create? +    !archived? && create?    end    def archive? @@ -37,7 +37,3 @@ class ReferentialPolicy < ApplicationPolicy    end  end - - - -  | 
