File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
app/Filament/Pages/Settings Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ class GeneralPage extends SettingsPage
2727
2828 public function mount (): void
2929 {
30- abort_unless ( auth ()-> user ()-> is_admin , 403 );
30+ parent :: mount ( );
3131
32- $ this -> fillForm ( );
32+ abort_unless ( auth ()-> user ()-> is_admin , 403 );
3333 }
3434
3535 public static function shouldRegisterNavigation (): bool
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ class InfluxDbPage extends SettingsPage
2323
2424 public function mount (): void
2525 {
26- abort_unless ( auth ()-> user ()-> is_admin , 403 );
26+ parent :: mount ( );
2727
28- $ this -> fillForm ( );
28+ abort_unless ( auth ()-> user ()-> is_admin , 403 );
2929 }
3030
3131 public static function shouldRegisterNavigation (): bool
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ class NotificationPage extends SettingsPage
3131
3232 public function mount (): void
3333 {
34- abort_unless ( auth ()-> user ()-> is_admin , 403 );
34+ parent :: mount ( );
3535
36- $ this -> fillForm ( );
36+ abort_unless ( auth ()-> user ()-> is_admin , 403 );
3737 }
3838
3939 public static function shouldRegisterNavigation (): bool
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ class ThresholdsPage extends SettingsPage
2323
2424 public function mount (): void
2525 {
26- abort_unless ( auth ()-> user ()-> is_admin , 403 );
26+ parent :: mount ( );
2727
28- $ this -> fillForm ( );
28+ abort_unless ( auth ()-> user ()-> is_admin , 403 );
2929 }
3030
3131 public static function shouldRegisterNavigation (): bool
You can’t perform that action at this time.
0 commit comments