removes unused code

This commit is contained in:
Juanjo Bazán
2016-12-07 14:50:09 +01:00
parent 1a20a3ce46
commit 91d5934567
2 changed files with 0 additions and 10 deletions

View File

@@ -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

View File

@@ -1,9 +0,0 @@
<div id="next-voting" class="row featured-proposals-ballot-banner">
<%= link_to polls_path do %>
<div class="small-12 column padding">
<div class="icon-successful"></div>
<h2><%= t("proposal_ballots.featured_title") %></h2>
<p><%= t("proposal_ballots.info") %></p>
</div>
<% end %>
</div>