summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-05 19:56:35 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-05 19:56:35 -0400
commit94d5a5012910b531aaeb040ed01f821dde45961e (patch)
treeabae86c9dadb4670e76fd6657d7c1d97f43c930b /app/models/user.rb
parent6cbbb7833ea55123389356579ccccbc59dde4db9 (diff)
parent7eff9bd40e71ad8b73dc2dd1818fd668e7b09338 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 56c78b4..64dd7ed 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -14,6 +14,7 @@ class User < ActiveRecord::Base
end
def can?(action)
+ return true
case action
when :create_tournament
return true