summaryrefslogtreecommitdiff
path: root/app/models/invite_code.rb
diff options
context:
space:
mode:
authorankonym <ankonym@gmail.com>2015-08-13 17:24:02 +0200
committerankonym <ankonym@gmail.com>2015-09-28 15:12:44 +0200
commit8b9b2a0c3c8457024d99d0794416c59cb245a513 (patch)
tree6156aee857998f877954c25f1b891fac227c6f1f /app/models/invite_code.rb
parentbd98a2cbb8796039efbffb7039a9bda1cde22dae (diff)
Changed invite code query to look for invite_code string instead of id
Diffstat (limited to 'app/models/invite_code.rb')
-rw-r--r--app/models/invite_code.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/invite_code.rb b/app/models/invite_code.rb
index b9f6f33..751b28e 100644
--- a/app/models/invite_code.rb
+++ b/app/models/invite_code.rb
@@ -4,7 +4,7 @@ class InviteCode < CouchRest::Model::Base
timestamps!
design do
- view :by__id
+ view :by_invite_code
end
end