summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-05 19:56:18 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-05 19:56:18 -0400
commit6cbbb7833ea55123389356579ccccbc59dde4db9 (patch)
treeac91b1aa9828909cc932c2487b94c0cef8bf3428 /app/models/user.rb
parentfca133856e323d01aa88e0e60acba762378dd9e3 (diff)
Match status 1 page
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index d1698bd..56c78b4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -16,8 +16,11 @@ class User < ActiveRecord::Base
def can?(action)
case action
when :create_tournament
+ return true
when :edit_tournament
+ return true
when :join_tournament
+ return true
when :delete_tournament
when :create_game