makes spaces consistent

This commit is contained in:
rgarcia
2015-09-28 15:27:09 +02:00
parent c221ec505c
commit c362ad0054
2 changed files with 9 additions and 11 deletions

View File

@@ -57,6 +57,11 @@ class ProposalsController < ApplicationController
end
end
def vote
@proposal.register_vote(current_user, 'yes')
set_proposal_votes(@proposal)
end
def flag
Flag.flag(current_user, @proposal)
respond_with @proposal, template: 'proposals/_refresh_flag_actions'
@@ -67,11 +72,6 @@ class ProposalsController < ApplicationController
respond_with @proposal, template: 'proposals/_refresh_flag_actions'
end
def vote
@proposal.register_vote(current_user, 'yes')
set_proposal_votes(@proposal)
end
private
def proposal_params