aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/policies/time_table_policy.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/time_table_policy.rb b/app/policies/time_table_policy.rb
index c9f3a3ec6..92d3aef3e 100644
--- a/app/policies/time_table_policy.rb
+++ b/app/policies/time_table_policy.rb
@@ -25,4 +25,8 @@ class TimeTablePolicy < ApplicationPolicy
def duplicate?
!archived? && organisation_match? && create?
end
+
+ def month?
+ update?
+ end
end