AutoCommit Sam Aug 1 22:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-01 22:03:01 +02:00
parent 2a7ae7c2bf
commit 2b01a87d15
9 changed files with 25 additions and 10 deletions

View File

@@ -20,7 +20,10 @@ class Survey::QuestionsController < ApplicationController
end
@survey_question.do_answer(params[:survey_question][:selected],user)
render :show
respond_to do |format|
format.html { redirect_to action: :show}
format.js { render action: :show}
end
end
# GET /survey/questions/1
# GET /survey/questions/1.json