Skip to content

Core\Response

Fariz Luqman edited this page Feb 5, 2017 · 3 revisions

Responsible for returning response from the server to the user.

Redirecting to a page

Use the method Response::redirect('any/location'); to redirect to a page.

Redirecting to a page with a flash messages

Response::redirect('login')->with(['message'=>'Hello']);

Visit our website for tutorials: stupidlysimple.github.io

Clone this wiki locally