demarches-normaliennes/app/controllers/new_user/feedbacks_controller.rb

7 lines
181 B
Ruby
Raw Normal View History

2018-08-08 17:37:41 +02:00
class NewUser::FeedbacksController < ApplicationController
def create
current_user.feedbacks.create!(mark: params[:mark])
flash.notice = "Merci de votre retour"
end
end