@@ -36,4 +36,4 @@ |
||
| 36 | 36 | return $this->subject('New File Uploaded')->markdown('email.newLinkFile'); |
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | - |
|
| 40 | 39 | \ No newline at end of file |
| 40 | + |
|
| 41 | 41 | \ No newline at end of file |
@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | protected function mapApiRoutes() |
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | - ->middleware('api') |
|
| 70 | - ->namespace($this->namespace) |
|
| 71 | - ->group(base_path('routes/api.php')); |
|
| 69 | + ->middleware('api') |
|
| 70 | + ->namespace($this->namespace) |
|
| 71 | + ->group(base_path('routes/api.php')); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | ->with('CustomerSystems.SystemTypes') |
| 53 | 53 | ->whereHas('CustomerSystems', function($q) use($request) |
| 54 | 54 | { |
| 55 | - $q->where('sys_id', $request->system); |
|
| 55 | + $q->where('sys_id', $request->system); |
|
| 56 | 56 | }) |
| 57 | 57 | ->get(); |
| 58 | 58 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $tipData = TechTips::where('subject', 'like', '%'.$request->tipSearch.'%') |
| 58 | 58 | ->whereHas('TechTipSystems', function($q) use($request) |
| 59 | 59 | { |
| 60 | - $q->where('sys_id', $request->system); |
|
| 60 | + $q->where('sys_id', $request->system); |
|
| 61 | 61 | }) |
| 62 | 62 | ->get(); |
| 63 | 63 | } |
@@ -100,4 +100,4 @@ |
||
| 100 | 100 | return $request->all(); |
| 101 | 101 | } |
| 102 | 102 | } |
| 103 | - |
|
| 104 | 103 | \ No newline at end of file |
| 104 | + |
|
| 105 | 105 | \ No newline at end of file |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | // Get the users information |
| 144 | 144 | $userData = User::where('username', $valid->username)->first(); |
| 145 | 145 | |
| 146 | - // Update the password |
|
| 146 | + // Update the password |
|
| 147 | 147 | User::find($userData->user_id)->update( |
| 148 | 148 | [ |
| 149 | 149 | 'password' => bcrypt($request->newPass) |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | 'password' => 'required|string|min:6|confirmed' |
| 181 | 181 | ]); |
| 182 | 182 | |
| 183 | - // Update the user data |
|
| 183 | + // Update the user data |
|
| 184 | 184 | User::find($id)->update( |
| 185 | 185 | [ |
| 186 | 186 | 'password' => bcrypt($request->password) |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | // Deactivae an active user |
| 253 | 253 | public function destroy($id) |
| 254 | 254 | { |
| 255 | - // Update the user data |
|
| 255 | + // Update the user data |
|
| 256 | 256 | User::find($id)->update( |
| 257 | 257 | [ |
| 258 | 258 | 'active' => 0 |