mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix error with terms and controllers page
This commit is contained in:
@@ -16,7 +16,7 @@ class PrivacyPolicyController extends BasePageController
|
||||
$meta_keywords = 'privacy,policy,data protection';
|
||||
$meta_description = 'Privacy Policy for '.config('app.name');
|
||||
// Get privacy policy content from settings (if available)
|
||||
$privacy_content = $this->settings->privacy_policy ?? null;
|
||||
$privacy_content = $this->settings->get('privacy_policy') ?? null;
|
||||
|
||||
return view('privacy-policy', compact('title', 'meta_title', 'meta_keywords', 'meta_description', 'privacy_content'));
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class TermsController extends BasePageController
|
||||
$meta_description = 'Terms and Conditions for '.config('app.name');
|
||||
|
||||
// Get terms content from settings
|
||||
$terms_content = $this->settings->tandc ?? '<p>No terms and conditions have been set yet.</p>';
|
||||
$terms_content = $this->settings->get('tandc') ?? '<p>No terms and conditions have been set yet.</p>';
|
||||
|
||||
return view('terms', compact('title', 'meta_title', 'meta_keywords', 'meta_description', 'terms_content'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user