From 6cbbb7833ea55123389356579ccccbc59dde4db9 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Sat, 5 Apr 2014 19:56:18 -0400 Subject: Match status 1 page --- app/models/user.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/models') 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 -- cgit v1.2.3-2-g168b