Class: Manage::QuestionsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/manage/questions_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



10
11
12
# File 'app/controllers/manage/questions_controller.rb', line 10

def create
  create!{ manage_structure_questions_path(@structure.id) }
end

#destroyObject



18
19
20
# File 'app/controllers/manage/questions_controller.rb', line 18

def destroy
  destroy!{ manage_structure_questions_path(@structure.id) }
end

#updateObject



14
15
16
# File 'app/controllers/manage/questions_controller.rb', line 14

def update
  update!{ manage_structure_questions_path(@structure.id) }
end