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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user