라라벨 RedirectsUsers.php

1 개요[ | ]

라라벨 RedirectsUsers
laravel/framework/src/Illuminate/Foundation/Auth/RedirectsUsers.php
<?php

namespace Illuminate\Foundation\Auth;

trait RedirectsUsers
{
    public function redirectPath()
    {
        if (property_exists($this, 'redirectPath')) {
            return $this->redirectPath;
        }

        return property_exists($this, 'redirectTo') ? $this->redirectTo : '/home';
    }
}

2 같이 보기[ | ]