removes duplication between debate and proposal suggestions

This commit is contained in:
rgarcia
2016-02-03 19:02:19 +01:00
parent 37012fda5c
commit e4a49f802e
8 changed files with 34 additions and 52 deletions

View File

@@ -15,6 +15,7 @@ class DebatesController < ApplicationController
has_orders %w{most_voted newest oldest}, only: :show
load_and_authorize_resource
helper_method :resource_model, :resource_name
respond_to :html, :js
def vote