summaryrefslogtreecommitdiff
path: root/help/app/models/ticket.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-11-07 15:45:09 -0800
committerjessib <jessib@riseup.net>2012-11-07 15:45:09 -0800
commit791a512247f657558b49677198c4e9abcb09645e (patch)
tree6740588d7829b7074097d027319b07b15c26697c /help/app/models/ticket.rb
parent26d263ae1cf449d0f4e68b6d2b49b3c8e76c3461 (diff)
Improvements to flow for closing/re-opening tickets.
Diffstat (limited to 'help/app/models/ticket.rb')
-rw-r--r--help/app/models/ticket.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb
index cb8e397..dc2f51b 100644
--- a/help/app/models/ticket.rb
+++ b/help/app/models/ticket.rb
@@ -72,14 +72,15 @@ class Ticket < CouchRest::Model::Base
# in controller set to be current users email if that exists
end
+ #not saving with close and reopen, as we will save in update when they are called.
def close
self.is_open = false
- save
+ #save
end
def reopen
self.is_open = true
- save
+ #save
end
def comments_attributes=(attributes)