From 24f693d5b12d5b697a5efc7b176d8394f3024279 Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Wed, 11 Apr 2018 14:30:26 +0200 Subject: [PATCH] Fix authorization --- app/controllers/statistics_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/statistics_controller.rb b/app/controllers/statistics_controller.rb index a2e4baec..e3d9aa60 100644 --- a/app/controllers/statistics_controller.rb +++ b/app/controllers/statistics_controller.rb @@ -1,7 +1,7 @@ class StatisticsController < ApplicationController include StatisticsHelper - before_action :authorize!, only: [:graphs, :user_activity, :rfc_activity] + before_action :authorize!, only: [:show, :graphs, :user_activity, :rfc_activity] def policy_class StatisticsPolicy