Commit 3b9ccf6241e10821a8a663221870b044ae9313da
1 parent
eb3d6ea7
Exists in
master
and in
1 other branch
Bug in tracking creator of uploaded ideas
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/choices_controller.rb
... | ... | @@ -61,7 +61,7 @@ class ChoicesController < InheritedResources::Base |
61 | 61 | @question = Question.find params[:question_id] |
62 | 62 | |
63 | 63 | respond_to do |format| |
64 | - if @choice = current_user.create_choice(params['params']['data'], @question, {:data => params['params']['data'], | |
64 | + if @choice = current_user.create_choice(params['params']['auto'], @question, {:data => params['params']['data'], | |
65 | 65 | :local_identifier => params['params']['local_identifier']}) |
66 | 66 | saved_choice_id = Proc.new { |options| options[:builder].tag!('saved_choice_id', @choice.id) } |
67 | 67 | choice_status = Proc.new { |options| | ... | ... |