I have a simple helper (/app/Helpers/Helper.php
). Is is possible to set a view from helper's function? Something like return View::make('admin.users', $page_params);
How can I do that?
Notice: this function called in controller's __construct
public function __construct()
{
set_view();
}
You can use the view helper for that.
return view('auth.login');