@@ -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 |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | |
148 | 148 | $nextChange = config('users.passExpires') != null ? Carbon::now()->addDays(config('users.passExpires')) : null; |
149 | 149 | |
150 | - // Update the password |
|
150 | + // Update the password |
|
151 | 151 | User::find($userData->user_id)->update( |
152 | 152 | [ |
153 | 153 | 'password' => bcrypt($request->newPass), |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | |
189 | 189 | $nextChange = isset($request->force_change) && $request->force_change == 'on' ? Carbon::now()->subDay() : null; |
190 | 190 | |
191 | - // Update the user data |
|
191 | + // Update the user data |
|
192 | 192 | User::find($id)->update( |
193 | 193 | [ |
194 | 194 | 'password' => bcrypt($request->password), |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | $linkController->destroy($link->link_id); |
274 | 274 | } |
275 | 275 | |
276 | - // Update the user data |
|
276 | + // Update the user data |
|
277 | 277 | User::find($id)->update( |
278 | 278 | [ |
279 | 279 | 'active' => 0 |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | return (new MailMessage) |
32 | 32 | ->line('A new file has been uploaded to the file link - '.$this->details->link_name) |
33 | 33 | ->action('Click to View Link', |
34 | - url(route('links.info', [ |
|
35 | - 'id' => $this->details->link_id, |
|
36 | - 'name' => urlencode($this->details->link_name) |
|
34 | + url(route('links.info', [ |
|
35 | + 'id' => $this->details->link_id, |
|
36 | + 'name' => urlencode($this->details->link_name) |
|
37 | 37 | ]))); |
38 | 38 | } |
39 | 39 | |
@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | 'type' => 'warning', |
45 | 45 | 'message' => 'New File Uploaded to link - '.$this->details->link_name, |
46 | 46 | 'link' => url(route('links.info', [ |
47 | - 'id' => $this->details->link_id, |
|
48 | - 'name' => urlencode($this->details->link_name) |
|
47 | + 'id' => $this->details->link_id, |
|
48 | + 'name' => urlencode($this->details->link_name) |
|
49 | 49 | ])) |
50 | 50 | ]; |
51 | 51 | } |