Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class PublicPagesController extends Controller |
||
9 | { |
||
10 | public function impress() |
||
13 | } |
||
14 | |||
15 | public function termsAndConditions() |
||
16 | { |
||
17 | $terms = Setting::where('name', 'terms')->where('lang', App::getLocale())->first(); |
||
18 | $termsHtml = $terms ? $terms->value : view('components.default-texts.terms')->render(); |
||
19 | |||
20 | return view('public.terms', [ |
||
21 | 'terms' => $termsHtml |
||
22 | ]); |
||
23 | } |
||
24 | |||
25 | public function privacyStatement() |
||
32 | ]); |
||
33 | } |
||
34 | } |