add a user satisfaction form'

This commit is contained in:
lucien mollard 2018-08-08 17:37:41 +02:00
parent c1db49d4b4
commit 9ecc5f7928
16 changed files with 98 additions and 1 deletions

View file

@ -0,0 +1,6 @@
class NewUser::FeedbacksController < ApplicationController
def create
current_user.feedbacks.create!(mark: params[:mark])
flash.notice = "Merci de votre retour"
end
end