Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
86fcb0e9
Commit
86fcb0e9
authored
Sep 22, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving the dashboard views outside the core module
parent
6aec5beb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
34 deletions
+4
-34
DashboardController.php
Http/Controllers/DashboardController.php
+0
-12
routes.php
Http/routes.php
+4
-4
dashboard.blade.php
Resources/views/admin/dashboard.blade.php
+0
-18
No files found.
Http/Controllers/DashboardController.php
deleted
100644 → 0
View file @
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
Http/routes.php
View file @
86fcb0e9
<?php
Route
::
group
([
'prefix'
=>
Config
::
get
(
'core::core.admin-prefix'
),
'namespace'
=>
'Modules\Core\Http\Controllers'
],
function
()
{
Route
::
get
(
'/'
,
'DashboardController@index'
);
});
\ No newline at end of file
//Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Core\Http\Controllers'], function()
//{
// Route::get('/', 'DashboardController@index');
//});
\ No newline at end of file
Resources/views/admin/dashboard.blade.php
deleted
100644 → 0
View file @
6aec5beb
@
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment