loads input option partials on type change
This commit is contained in:
1 parent
bdec83b3b6
commit
488b89ddfa
7 files changed
+49
-13
No files matched your search
@@ -43,6 +43,11 @@ module Admin
|
||||
end
|
||||
end
|
||||
|
||||
def options
|
||||
@question = params[:question_id].present? ? Question.find(params[:question_id]) : Question.new
|
||||
render layout: false
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def question_params
|
||||
|
||||
Reference in new issue
Block a user