add a user satisfaction form'
This commit is contained in:
parent
c1db49d4b4
commit
9ecc5f7928
16 changed files with 98 additions and 1 deletions
6
app/controllers/new_user/feedbacks_controller.rb
Normal file
6
app/controllers/new_user/feedbacks_controller.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue