laravel middle ware 権限チェックだけではなくRouteBefore.AfterでHTML定型句を挿入などもできるよ 2018/8/10 Laravel https://www.ritolab.com/entry/69