summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
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