forked from bofh/fetsite
AutoCommit Die Aug 4 17:03:24 CEST 2015
This commit is contained in:
@@ -40,6 +40,7 @@ class Survey::QuestionsController < ApplicationController
|
|||||||
# GET /survey/questions/new.json
|
# GET /survey/questions/new.json
|
||||||
def new
|
def new
|
||||||
@survey_question = Survey::Question.new
|
@survey_question = Survey::Question.new
|
||||||
|
@commentable=params[:commentable_type].constantize.find(params[:commentable_id])
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html # new.html.erb
|
format.html # new.html.erb
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user