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

Upgraded to Rails 5.1.1

This commit is contained in:
2017-06-08 21:45:36 -04:00
parent f409918f5b
commit 98e63a2ff0
19 changed files with 174 additions and 170 deletions

View File

@@ -1,7 +1,7 @@
class MatsController < ApplicationController
before_action :set_mat, only: [:show, :edit, :update, :destroy]
before_filter :check_access, only: [:new,:create,:update,:destroy,:edit,:show]
before_filter :check_for_matches, only: [:show]
before_action :check_access, only: [:new,:create,:update,:destroy,:edit,:show]
before_action :check_for_matches, only: [:show]
# GET /mats/1
# GET /mats/1.json