summaryrefslogtreecommitdiff
path: root/app/models/invite_code.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/invite_code.rb')
-rw-r--r--app/models/invite_code.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/invite_code.rb b/app/models/invite_code.rb
index 9c6df66..8a56484 100644
--- a/app/models/invite_code.rb
+++ b/app/models/invite_code.rb
@@ -12,6 +12,8 @@ class InviteCode < CouchRest::Model::Base
design do
view :by_invite_code
view :by_invite_count
+ view :by_created_at
+ view :by_updated_at
end
def initialize(attributes = {}, options = {})