From 9a840bb8d166c5c0381222489ebf3a39262c7352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 14 May 2024 01:40:17 +0200 Subject: [PATCH] Remove unused code in poll questions controller This code wasn't used since commit d9ad65875. --- app/controllers/polls/questions_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/polls/questions_controller.rb b/app/controllers/polls/questions_controller.rb index 3db380663..07810bbfc 100644 --- a/app/controllers/polls/questions_controller.rb +++ b/app/controllers/polls/questions_controller.rb @@ -1,5 +1,4 @@ class Polls::QuestionsController < ApplicationController - load_and_authorize_resource :poll load_and_authorize_resource :question, class: "Poll::Question" def answer