Commit 86fcb0e9 authored by Nicolas Widart's avatar Nicolas Widart

Moving the dashboard views outside the core module

parent 6aec5beb
<?php namespace Modules\Core\Http\Controllers;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\View;
class DashboardController extends Controller
{
public function index()
{
return View::make('core::admin.dashboard');
}
}
\ No newline at end of file
<?php <?php
Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Core\Http\Controllers'], function() //Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Core\Http\Controllers'], function()
{ //{
Route::get('/', 'DashboardController@index'); // Route::get('/', 'DashboardController@index');
}); //});
\ No newline at end of file \ No newline at end of file
@extends('core::layouts.master')
@section('content-header')
<h1>
Dashboard
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
</ol>
@stop
@section('content')
<div class="row">
<div class="col-md-12">
<p>asd</p>
</div>
</div>
@stop
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment