Completed
Pull Request — master (#84)
by Johnny
12:52
created
routes/web.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 Route::get('/logout', ['as' => 'user.logout', 'uses' => 'Auth\LoginController@logout']);
21 21
 
22
-Route::get('/home', function () {
22
+Route::get('/home', function() {
23 23
     return redirect()->route('url_create');
24 24
 })->middleware('auth')->name('home');
25 25
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 Route::group([
30 30
     'prefix' => '/admin',
31 31
     'middleware' => ['auth.admin'],
32
-], function () {
32
+], function() {
33 33
     Route::resource('links', 'Admin\LinksController', [
34 34
         'names' => [
35 35
             'index' => 'admin.links.index',
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 Route::group([
57 57
     'prefix' => '/dashboard',
58 58
     'middleware' => ['auth'],
59
-], function () {
59
+], function() {
60 60
     Route::resource('links', 'UserDashboardController');
61 61
 });
62 62
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UsersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     {
96 96
         $user->fill(['name' => $request->name, 'email' => $request->email, 'activated' => $request->activated])->save();
97 97
 
98
-        if (! empty($request->password)) {
98
+        if ( ! empty($request->password)) {
99 99
             $user->password = Hash::make($request->password);
100 100
         }
101 101
 
Please login to merge, or discard this patch.