Class: Manage::FeedbackAnswersController

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

Instance Method Summary collapse

Instance Method Details

#createObject



9
10
11
12
13
# File 'app/controllers/manage/feedback_answers_controller.rb', line 9

def create
  @feedback_answer = FeedbackAnswer.new(params[:feedback_answer])
  @feedback_answer.author = current_user
  create!{ manage_feedbacks_path }
end

#destroyObject



19
20
21
# File 'app/controllers/manage/feedback_answers_controller.rb', line 19

def destroy
  destroy!{ manage_feedbacks_path }
end

#updateObject



15
16
17
# File 'app/controllers/manage/feedback_answers_controller.rb', line 15

def update
  update!{ manage_feedbacks_path }
end