Update terms and conditions page handling

This commit is contained in:
DariusIII
2018-06-27 13:14:37 +02:00
parent fda8beae77
commit 8dc00a2f17
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class BasePageController extends Controller
*/
public function __construct()
{
$this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback', 'getNzb');
$this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback', 'getNzb', 'terms');
// Buffer settings/DB connection.
$this->settings = new Settings();
$this->smarty = app('smarty.view');