やれやれ
このコミットが含まれているのは:
コミット
c179f8fc81
|
@ -7,11 +7,11 @@ use Illuminate\Http\Request;
|
|||
|
||||
trait AuthorizationTrait {
|
||||
public function checkLogin () {
|
||||
$viewpath = request()->route()->action['prefix'];
|
||||
$viewpath = str_replace('-', '_', request()->route()->action['prefix']);
|
||||
$loginpage = $viewpath.'/'.($this->getGuard() == 'admins' ? 'login' : 'auth');
|
||||
|
||||
if (Session::has($this->getGuard())) {
|
||||
return redirect($viewpath.'/meeting');
|
||||
return redirect(request()->route()->action['prefix'].'/meeting');
|
||||
}
|
||||
|
||||
return view($loginpage);
|
||||
|
|
新しいイシューから参照