mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-13 16:40:48 +00:00
You can now create a wrestler from school page
This commit is contained in:
@@ -15,6 +15,9 @@ class WrestlersController < ApplicationController
|
||||
# GET /wrestlers/new
|
||||
def new
|
||||
@wrestler = Wrestler.new
|
||||
if params[:school]
|
||||
@school = params[:school]
|
||||
end
|
||||
end
|
||||
|
||||
# GET /wrestlers/1/edit
|
||||
|
||||
Reference in New Issue
Block a user