demarches-normaliennes/app/controllers/new_user/feedbacks_controller.rb
2018-08-09 11:41:26 +02:00

6 lines
181 B
Ruby

class NewUser::FeedbacksController < ApplicationController
def create
current_user.feedbacks.create!(mark: params[:mark])
flash.notice = "Merci de votre retour"
end
end