aboutsummaryrefslogtreecommitdiffstats
path: root/app/policies
diff options
context:
space:
mode:
authorRobert2017-07-04 15:21:31 +0200
committerRobert2017-07-04 21:54:04 +0200
commitcf546740389e782b17278259369e0d288dbf2653 (patch)
tree036f34b696cef6b1bb2bf0fdd005ad8eb5a40959 /app/policies
parentcce302f6ea2252deb09973c8df8842c50349eb79 (diff)
downloadchouette-core-cf546740389e782b17278259369e0d288dbf2653.tar.bz2
Refs: #3478@0.5h; refactored table_builder_helper/custom_links.rb, according to moving authoriation BL into policies
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/referential_policy.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/referential_policy.rb b/app/policies/referential_policy.rb
index e531c6c19..88847a212 100644
--- a/app/policies/referential_policy.rb
+++ b/app/policies/referential_policy.rb
@@ -30,6 +30,10 @@ class ReferentialPolicy < BoivPolicy
true
end
+ def show?
+ true
+ end
+
def unarchive? ; archive? end
def update? ; edit? end
def new? ; create? end