1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Blocking buttons with Devise Authentication and cleaning up views

This commit is contained in:
Jacob Cody Wimer
2014-01-22 08:38:55 -05:00
parent 382e1a0c05
commit 8797381b6c
9 changed files with 13 additions and 23 deletions

View File

@@ -16,7 +16,8 @@ class WrestlersController < ApplicationController
def new
@wrestler = Wrestler.new
if params[:school]
@school = params[:school]
@school_field = params[:school]
@school = School.find(params[:school])
end
end