mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-08-29 01:13:08 +00:00
Removed middle ware.
This commit is contained in:
@@ -28,7 +28,6 @@ class AccountController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\Account\AccountChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\Account\AccountChartGenerator');
|
||||||
|
@@ -27,7 +27,6 @@ class BillController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\Bill\BillChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\Bill\BillChartGenerator');
|
||||||
|
@@ -31,7 +31,6 @@ class BudgetController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\Budget\BudgetChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\Budget\BudgetChartGenerator');
|
||||||
|
@@ -31,7 +31,6 @@ class CategoryController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\Category\CategoryChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\Category\CategoryChartGenerator');
|
||||||
|
@@ -26,7 +26,6 @@ class PiggyBankController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\PiggyBank\PiggyBankChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\PiggyBank\PiggyBankChartGenerator');
|
||||||
|
@@ -26,7 +26,6 @@ class ReportController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
// create chart generator:
|
// create chart generator:
|
||||||
$this->generator = app('FireflyIII\Generator\Chart\Report\ReportChartGenerator');
|
$this->generator = app('FireflyIII\Generator\Chart\Report\ReportChartGenerator');
|
||||||
|
@@ -3,14 +3,14 @@
|
|||||||
namespace FireflyIII\Http\Controllers;
|
namespace FireflyIII\Http\Controllers;
|
||||||
|
|
||||||
use App;
|
use App;
|
||||||
|
use Auth;
|
||||||
|
use Carbon\Carbon;
|
||||||
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||||
use Illuminate\Foundation\Validation\ValidatesRequests;
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||||
use Illuminate\Routing\Controller as BaseController;
|
use Illuminate\Routing\Controller as BaseController;
|
||||||
use View;
|
|
||||||
use Auth;
|
|
||||||
use Preferences;
|
use Preferences;
|
||||||
use Carbon\Carbon;
|
use View;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Controller
|
* Class Controller
|
||||||
@@ -21,6 +21,12 @@ class Controller extends BaseController
|
|||||||
{
|
{
|
||||||
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||||
|
|
||||||
|
/** @var string|\Symfony\Component\Translation\TranslatorInterface */
|
||||||
|
protected $monthFormat;
|
||||||
|
|
||||||
|
/** @var string|\Symfony\Component\Translation\TranslatorInterface */
|
||||||
|
protected $monthAndDayFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller constructor.
|
* Controller constructor.
|
||||||
*/
|
*/
|
||||||
|
@@ -34,7 +34,6 @@ class CsvController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', trans('firefly.csv'));
|
View::share('title', trans('firefly.csv'));
|
||||||
View::share('mainTitleIcon', 'fa-file-text-o');
|
View::share('mainTitleIcon', 'fa-file-text-o');
|
||||||
|
@@ -25,7 +25,6 @@ class CurrencyController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', trans('firefly.currencies'));
|
View::share('title', trans('firefly.currencies'));
|
||||||
View::share('mainTitleIcon', 'fa-usd');
|
View::share('mainTitleIcon', 'fa-usd');
|
||||||
|
@@ -13,7 +13,6 @@ class HelpController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -20,7 +20,6 @@ class HomeController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,7 +22,6 @@ class JsonController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,7 +19,6 @@ class NewUserController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -31,7 +31,6 @@ class PiggyBankController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', trans('firefly.piggyBanks'));
|
View::share('title', trans('firefly.piggyBanks'));
|
||||||
View::share('mainTitleIcon', 'fa-sort-amount-asc');
|
View::share('mainTitleIcon', 'fa-sort-amount-asc');
|
||||||
|
@@ -20,7 +20,6 @@ class PreferencesController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', trans('firefly.preferences'));
|
View::share('title', trans('firefly.preferences'));
|
||||||
View::share('mainTitleIcon', 'fa-gear');
|
View::share('mainTitleIcon', 'fa-gear');
|
||||||
|
@@ -17,7 +17,6 @@ class ProfileController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -27,7 +27,6 @@ class ReportController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct(ReportHelperInterface $helper)
|
public function __construct(ReportHelperInterface $helper)
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->helper = $helper;
|
$this->helper = $helper;
|
||||||
|
|
||||||
|
@@ -12,7 +12,6 @@ class SearchController extends Controller
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -39,7 +39,6 @@ class TagController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', 'Tags');
|
View::share('title', 'Tags');
|
||||||
View::share('mainTitleIcon', 'fa-tags');
|
View::share('mainTitleIcon', 'fa-tags');
|
||||||
|
@@ -37,7 +37,6 @@ class TransactionController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->middleware('auth');
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
View::share('title', trans('firefly.transactions'));
|
View::share('title', trans('firefly.transactions'));
|
||||||
View::share('mainTitleIcon', 'fa-repeat');
|
View::share('mainTitleIcon', 'fa-repeat');
|
||||||
|
Reference in New Issue
Block a user