From aa06d2195ea6596c44b6763f5b8c708f0e93667f Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Tue, 4 Aug 2015 17:03:24 +0200 Subject: [PATCH] AutoCommit Die Aug 4 17:03:24 CEST 2015 --- app/controllers/survey/questions_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/survey/questions_controller.rb b/app/controllers/survey/questions_controller.rb index 0e88883..ee33a3f 100644 --- a/app/controllers/survey/questions_controller.rb +++ b/app/controllers/survey/questions_controller.rb @@ -40,6 +40,7 @@ class Survey::QuestionsController < ApplicationController # GET /survey/questions/new.json def new @survey_question = Survey::Question.new + @commentable=params[:commentable_type].constantize.find(params[:commentable_id]) respond_to do |format| format.html # new.html.erb end