Add about page with feedback functionality
This commit is contained in:
@@ -24,6 +24,7 @@ class User
|
||||
before_save :ensure_authentication_token
|
||||
|
||||
has_many :error_logs
|
||||
has_many :user_feedbacks
|
||||
|
||||
view :by_authentication_token, key: :authentication_token
|
||||
view :by_email, key: :email
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class UserFeedback
|
||||
include SimplyStored::Couch
|
||||
property :content
|
||||
belongs_to :user
|
||||
end
|
||||
Reference in New Issue
Block a user