diff options
| author | Robert | 2017-05-31 19:00:14 +0200 |
|---|---|---|
| committer | Robert | 2017-05-31 19:00:14 +0200 |
| commit | b6f6bf1d65f961f4ea6c1df91bc1ade9dfa8f7e2 (patch) | |
| tree | db51a85c261551d79ece843c3fe1c1f6aca89d8d /app/policies | |
| parent | 56a4d7ddacd072c004ab087df228cae10aea3ef4 (diff) | |
| download | chouette-core-b6f6bf1d65f961f4ea6c1df91bc1ade9dfa8f7e2.tar.bz2 | |
Refs: #3326; Policy application in referentials/show
Diffstat (limited to 'app/policies')
| -rw-r--r-- | app/policies/referential_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/referential_policy.rb b/app/policies/referential_policy.rb index 4a5e85ead..e531c6c19 100644 --- a/app/policies/referential_policy.rb +++ b/app/policies/referential_policy.rb @@ -25,6 +25,11 @@ class ReferentialPolicy < BoivPolicy organisation_match? && create? end + def common_lines? + # TODO: Replace with correct BL ASA available, c.f. https://projects.af83.io/issues/2692 + true + end + def unarchive? ; archive? end def update? ; edit? end def new? ; create? end |
