Rename Admin directory to Dashboard within routes. Closes #933

This commit is contained in:
James Brooks
2015-08-31 18:59:17 +01:00
parent cd9828275d
commit 77ce0e21f4
11 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use CachetHQ\Cachet\Models\Component; use CachetHQ\Cachet\Models\Component;
use CachetHQ\Cachet\Models\ComponentGroup; use CachetHQ\Cachet\Models\ComponentGroup;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Models\Component; use CachetHQ\Cachet\Models\Component;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use CachetHQ\Cachet\Facades\Setting; use CachetHQ\Cachet\Facades\Setting;
use CachetHQ\Cachet\Models\Component; use CachetHQ\Cachet\Models\Component;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Events\IncidentHasReportedEvent; use CachetHQ\Cachet\Events\IncidentHasReportedEvent;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Models\Metric; use CachetHQ\Cachet\Models\Metric;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Events\MaintenanceHasScheduledEvent; use CachetHQ\Cachet\Events\MaintenanceHasScheduledEvent;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use CachetHQ\Cachet\Models\Setting; use CachetHQ\Cachet\Models\Setting;
use CachetHQ\Cachet\Models\User; use CachetHQ\Cachet\Models\User;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Events\CustomerHasSubscribedEvent; use CachetHQ\Cachet\Events\CustomerHasSubscribedEvent;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Models\User; use CachetHQ\Cachet\Models\User;

View File

@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Http\Controllers\Admin; namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use CachetHQ\Cachet\Models\User; use CachetHQ\Cachet\Models\User;

View File

@@ -30,7 +30,7 @@ class DashboardRoutes
$router->group([ $router->group([
'middleware' => 'auth', 'middleware' => 'auth',
'prefix' => 'dashboard', 'prefix' => 'dashboard',
'namespace' => 'Admin', 'namespace' => 'Dashboard',
'as' => 'dashboard.', 'as' => 'dashboard.',
], function ($router) { ], function ($router) {
// Dashboard // Dashboard