mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Code cleanup
This commit is contained in:
@@ -42,7 +42,7 @@ class CreateController extends Controller
|
||||
|
||||
// translations:
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-bolt');
|
||||
app('view')->share('subTitleIcon', 'fa-plus');
|
||||
app('view')->share('title', (string)trans('firefly.webhooks'));
|
||||
|
@@ -45,7 +45,7 @@ class DeleteController extends Controller
|
||||
|
||||
// translations:
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-bolt');
|
||||
app('view')->share('subTitleIcon', 'fa-trash');
|
||||
app('view')->share('title', (string)trans('firefly.webhooks'));
|
||||
|
@@ -45,7 +45,7 @@ class EditController extends Controller
|
||||
|
||||
// translations:
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-bolt');
|
||||
app('view')->share('subTitleIcon', 'fa-pencil');
|
||||
app('view')->share('title', (string)trans('firefly.webhooks'));
|
||||
|
@@ -43,7 +43,7 @@ class IndexController extends Controller
|
||||
|
||||
// translations:
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-bolt');
|
||||
app('view')->share('title', (string)trans('firefly.webhooks'));
|
||||
|
||||
|
@@ -45,7 +45,7 @@ class ShowController extends Controller
|
||||
|
||||
// translations:
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
static function ($request, $next) {
|
||||
app('view')->share('mainTitleIcon', 'fa-bolt');
|
||||
app('view')->share('subTitleIcon', 'fa-bolt');
|
||||
app('view')->share('title', (string)trans('firefly.webhooks'));
|
||||
|
Reference in New Issue
Block a user