diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-05 19:56:18 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-05 19:56:18 -0400 |
commit | 6cbbb7833ea55123389356579ccccbc59dde4db9 (patch) | |
tree | ac91b1aa9828909cc932c2487b94c0cef8bf3428 /app/models | |
parent | fca133856e323d01aa88e0e60acba762378dd9e3 (diff) |
Match status 1 page
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 3 |
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 |