diff options
author | jessib <jessib@leap.se> | 2012-12-24 16:22:39 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2012-12-24 16:22:39 -0800 |
commit | 313000fec18d56fba8f720ac32ae3ca8a92e4e36 (patch) | |
tree | b9494f9ac8eb943221afa7d9b325d928ed9320d9 /help/app/models | |
parent | 9a23a5d63b2b5bcb1994137a5de9f8ebd88142f1 (diff) |
Rough functionality for unauthenticated tickets.
Diffstat (limited to 'help/app/models')
-rw-r--r-- | help/app/models/ticket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb index fa056b4..fed2b8b 100644 --- a/help/app/models/ticket.rb +++ b/help/app/models/ticket.rb @@ -16,7 +16,7 @@ class Ticket < CouchRest::Model::Base #belongs_to :user #from leap_web_users. doesn't necessarily belong to a user though property :created_by, String, :protected => true #Integer #nil unless user was authenticated for ticket creation, #THIS should not be changed after being set - #property :regarding_user, String#Integer # form cannot be submitted if they type in a username w/out corresponding ID. this field can be nil. for authenticated ticket creation by non-admins, should this just automatically be set to be same as created_by? or maybe we don't use this field unless created_by is nil? + property :regarding_user, String#Integer # form cannot be submitted if they type in a username w/out corresponding ID. this field can be nil. for authenticated ticket creation by non-admins, should this just automatically be set to be same as created_by? or maybe we don't use this field unless created_by is nil? #also, both created_by and regarding_user could be nil---say user forgets username, or has general question property :title, String property :email, String #verify |