Completed
Push — master ( 284840...1415b0 )
by Jake
02:54
created
src/Http/routes.blue.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,23 +2,23 @@
 block discarded – undo
2 2
 
3 3
 Route::group(['namespace' => 'MeestorHok\\Blue\\Http\\Controllers', 'middleware' => 'web'], function()
4 4
 {
5
-    Route::group(['middleware' => 'siteDoesntExist'], function () 
5
+    Route::group(['middleware' => 'siteDoesntExist'], function() 
6 6
     { // if the user hasn't created a site yet
7 7
         Route::get('new', 'SiteController@showCreateForm');
8 8
         Route::post('new', 'SiteController@createSite')->name('create.site');
9 9
     });
10 10
     
11
-    Route::group(['middleware' => 'siteExists'], function () 
11
+    Route::group(['middleware' => 'siteExists'], function() 
12 12
     { // At least one site exists
13
-        Route::group(['middleware' => 'adminDoesntExist'], function () 
13
+        Route::group(['middleware' => 'adminDoesntExist'], function() 
14 14
         { // if no admin exists yet
15 15
             Route::get('admin/new', 'SiteController@showAdminForm');
16 16
             Route::post('admin/new', 'SiteController@createAdmin')->name('create.admin');
17 17
         });
18 18
         
19
-        Route::group(['middleware' => 'adminExists'], function ()
19
+        Route::group(['middleware' => 'adminExists'], function()
20 20
         { // At least one admin exists
21
-            Route::group(['prefix' => 'admin'], function () 
21
+            Route::group(['prefix' => 'admin'], function() 
22 22
             {
23 23
                 Route::get('/', 'AdminController@index');
24 24
                 Route::get('dashboard', 'AdminController@showDashboard');
Please login to merge, or discard this patch.
src/Http/Controllers/SiteController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class SiteController extends Controller
10 10
 {
11
-    public function showCreateForm () 
11
+    public function showCreateForm() 
12 12
     {
13 13
         return SEO::make([
14 14
             'title' => 'New Site',
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         ], 'Blue::auth.new-site');
17 17
     }
18 18
     
19
-    public function createSite (Request $request)
19
+    public function createSite(Request $request)
20 20
     {
21 21
         // 'title', 'social_links', 'description', 'slogan',
22 22
         // 'keywords', 'copyright', 'is_public_site', 'logo'
Please login to merge, or discard this patch.