summaryrefslogtreecommitdiff
path: root/app/controllers/teams_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-29 11:25:23 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-29 11:25:23 -0400
commit0d6f7a3bfbf4c87510a1bcf967b618f98e149d49 (patch)
treee3cd7d5329bd3c04a2fbfc766db34766fab12bc3 /app/controllers/teams_controller.rb
parent8aefe73872571ac54738bde71d4da5611659a0cc (diff)
clean up permission system
Diffstat (limited to 'app/controllers/teams_controller.rb')
-rw-r--r--app/controllers/teams_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/teams_controller.rb b/app/controllers/teams_controller.rb
index 6abc74c..dc85c8e 100644
--- a/app/controllers/teams_controller.rb
+++ b/app/controllers/teams_controller.rb
@@ -70,8 +70,4 @@ class TeamsController < ApplicationController
def team_params
params[:team]
end
-
- def is_owner?(object)
- object.users.include?(current_user)
- end
end