From 91d5934567fbc8558a0eee632d6692c5cf985fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Wed, 7 Dec 2016 14:50:09 +0100 Subject: [PATCH] removes unused code --- app/controllers/polls/questions_controller.rb | 1 - app/views/proposals/_proposal_ballots_banner.html.erb | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 app/views/proposals/_proposal_ballots_banner.html.erb diff --git a/app/controllers/polls/questions_controller.rb b/app/controllers/polls/questions_controller.rb index a48c1e194..03e71c15b 100644 --- a/app/controllers/polls/questions_controller.rb +++ b/app/controllers/polls/questions_controller.rb @@ -3,7 +3,6 @@ class Polls::QuestionsController < ApplicationController load_and_authorize_resource :poll load_and_authorize_resource :question, class: 'Poll::Question'#, through: :poll - has_filters %w{opened expired incoming} has_orders %w{most_voted newest oldest}, only: :show def show diff --git a/app/views/proposals/_proposal_ballots_banner.html.erb b/app/views/proposals/_proposal_ballots_banner.html.erb deleted file mode 100644 index 662865c44..000000000 --- a/app/views/proposals/_proposal_ballots_banner.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -