1
0
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:
Jacob Cody Wimer
2014-01-13 12:36:52 -05:00
parent 898caee2a6
commit 1112699025
3 changed files with 8 additions and 2 deletions

View File

@@ -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