@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['middleware' => 'installed'], function () { |
|
14 | +Route::group(['middleware' => 'installed'], function() { |
|
15 | 15 | |
16 | 16 | Route::auth(); |
17 | 17 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | } |
29 | 29 | $view->with('enable', $enable) |
30 | - ->with('title', $title) |
|
31 | - ->with('contents', $contents); |
|
30 | + ->with('title', $title) |
|
31 | + ->with('contents', $contents); |
|
32 | 32 | } |
33 | 33 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | $contents = ''; |
21 | 21 | if (config('kleis.legal_notice')) { |
22 | 22 | $mdfile = public_path('markdown/legal/'.config('kleis.legal_notice').'-'.config('app.locale').'.md'); |
23 | - if (file_exists($mdfile)){ |
|
23 | + if (file_exists($mdfile)) { |
|
24 | 24 | list($title, $text) = explode(PHP_EOL, file_get_contents($mdfile), 2); |
25 | 25 | $enable = true; |
26 | 26 | $contents = Markdown::parse($text)->toHtml(); |