Class: Tomify::Api::Public::FeedbackController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/tomify/api/public/feedback_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



2
3
4
5
# File 'app/controllers/tomify/api/public/feedback_controller.rb', line 2

def create
  create_record
  render json: { type: :success, data: data, message: "Thank you for your feedback!" }
end