laravel-learn-bbs/app/helpers.php

13 lines
204 B
PHP
Raw Normal View History

2017-12-30 15:45:21 +00:00
<?php
/**
* Created by PhpStorm.
* User: xing
* Date: 2017/12/30
* Time: 22:23
*/
function route_class()
{
return str_replace('.', '-', \Illuminate\Support\Facades\Route::currentRouteName());
}