1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 06:54:16 +00:00

removed controller actions and views not needed

This commit is contained in:
2015-10-27 08:03:16 -04:00
parent e3640917c5
commit b539a769c2
16 changed files with 0 additions and 226 deletions

View File

@@ -2,12 +2,6 @@ class WrestlersController < ApplicationController
before_action :set_wrestler, only: [:show, :edit, :update, :destroy]
before_filter :check_access, only: [:new,:create,:update,:destroy]
# GET /wrestlers
# GET /wrestlers.json
def index
@wrestlers = Wrestler.all
@school = School.find(@wrestler.school_id)
end
# GET /wrestlers/1
# GET /wrestlers/1.json