summaryrefslogtreecommitdiff
path: root/app/controllers/teams_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:56:06 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:56:06 -0400
commit45c5d311492ef98ed702beaf043d289a705a5e0b (patch)
treec0bea2e65d21127a1fd34a245b5bb7fc47123bb0 /app/controllers/teams_controller.rb
parent9d226fcd27b6c2470edf718ad36a262348891470 (diff)
parentc927cd7c043d982f8ffb51c8a78288d88d825d82 (diff)
Merge branch 'clean2'
Conflicts: app/models/team.rb app/views/matches/index.html.erb app/views/matches/show.html.erb
Diffstat (limited to 'app/controllers/teams_controller.rb')
-rw-r--r--app/controllers/teams_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/teams_controller.rb b/app/controllers/teams_controller.rb
index 57ae256..6abc74c 100644
--- a/app/controllers/teams_controller.rb
+++ b/app/controllers/teams_controller.rb
@@ -68,7 +68,7 @@ class TeamsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def team_params
- params.require(:team).permit(:match_id)
+ params[:team]
end
def is_owner?(object)