mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update terms and conditions page handling
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-06-27 DariusIII
|
||||
* Chg: Update terms and conditions page handling
|
||||
* Chg: Change from timestamps to "normal" dates in some of the time conversion functions
|
||||
* Chg: Remove needles date conversions to timestamp and back in Binaries and Backfill classes
|
||||
* Chg: Update Movie processing handling
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -9,7 +9,7 @@ class TermsController extends BasePageController
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function index()
|
||||
public function terms()
|
||||
{
|
||||
$this->setPrefs();
|
||||
$title = 'Terms and Conditions';
|
||||
|
||||
+2
-2
@@ -21,6 +21,8 @@ Route::post('register', 'Auth\RegisterController@register');
|
||||
Route::get('forgottenpassword', 'Auth\ForgotPasswordController@showLinkRequestForm');
|
||||
Route::post('forgottenpassword', 'Auth\ForgotPasswordController@showLinkRequestForm');
|
||||
|
||||
Route::get('terms-and-conditions', 'TermsController@terms');
|
||||
|
||||
Route::group(['middleware' => ['isVerified']], function () {
|
||||
Route::get('login', 'Auth\LoginController@showLoginForm');
|
||||
Route::post('login', 'Auth\LoginController@login')->name('login');
|
||||
@@ -199,8 +201,6 @@ Route::group(['middleware' => ['isVerified']], function () {
|
||||
|
||||
Route::post('series/{id?}', 'SeriesController@index');
|
||||
|
||||
Route::get('terms-and-conditions', 'TermsController@index');
|
||||
|
||||
Route::get('nzbvortex', 'QueueController@nzbvortex');
|
||||
|
||||
Route::post('nzbvortex', 'QueueController@nzbvortex');
|
||||
|
||||
Reference in New Issue
Block a user