Added display of the form for sending a vote
This commit is contained in:
parent
d6901349eb
commit
3971df0832
@ -36,8 +36,11 @@ class HelpdeskVotesController < ApplicationController
|
||||
@ticket.vote = params[:vote] if params[:vote]
|
||||
render :action => 'show'
|
||||
else
|
||||
@ticket.update_vote(params[:vote]) if params[:vote]
|
||||
render :action => 'vote'
|
||||
#redmine issues/145285
|
||||
#@ticket.update_vote(params[:vote]) if params[:vote]
|
||||
#render :action => 'vote'
|
||||
@ticket.vote = params[:vote] if params[:vote]
|
||||
render :action => 'show'
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user