diff options
Diffstat (limited to 'app/controllers/calendars_controller.rb')
| -rw-r--r-- | app/controllers/calendars_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index 579a48e1d..81eb029a6 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -1,6 +1,6 @@ class CalendarsController < BreadcrumbController defaults resource_class: Calendar - before_action :check_policy, only: [:edit, :update, :destroy] + before_action :check_policy, except: [:index, :new, :create] respond_to :html respond_to :js, only: :index |
