new dashboard and profile pages with new design

This commit is contained in:
Nabeel Shahzad
2017-08-02 13:13:08 -05:00
parent e4dc989ab2
commit e4e23dd8a6
20 changed files with 306 additions and 352 deletions

View File

@@ -2,7 +2,11 @@
namespace App\Http\Controllers\Frontend;
class DashboardController extends BaseController
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\AppBaseController;
class DashboardController extends AppBaseController
{
/**
* Show the application dashboard.
@@ -11,10 +15,8 @@ class DashboardController extends BaseController
*/
public function index()
{
return $this->view('frontend/dashboard');
}
public function test()
{
return $this->view('frontend/dashboard');
return $this->view('dashboard.index', [
'user' => Auth::user(),
]);
}
}