Class: FeedbackController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- FeedbackController
- Defined in:
- app/controllers/feedback_controller.rb
Instance Method Summary collapse
-
#show ⇒ Object
show the feedback form.
Instance Method Details
#show ⇒ Object
show the feedback form
8 9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/feedback_controller.rb', line 8 def show @nav_li_active = 'contact' @errors=[] if request.post? if validate Notifier.feedback(params).deliver_now redirect_to feedback_complete_path end end end |