Add about page with feedback functionality

This commit is contained in:
2014-10-02 17:06:52 +02:00
parent 7c03b4c32c
commit b8ef4943bd
22 changed files with 153 additions and 10 deletions
+5
View File
@@ -197,6 +197,11 @@ class UserController < Users::ApplicationController
end
end
def feedback
UserFeedback.create(user_id: current_user.id, content: params[:feedback].to_s)
render json: {}
end
# POST /user/needs_help.json
def needs_help
respond_to do |format|