Revision 2f6e2e40
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Controller/PaymentTerm.pm | ||
---|---|---|
scalar => [ qw(payment_term languages) ],
|
||
);
|
||
|
||
__PACKAGE__->run_before('check_auth');
|
||
__PACKAGE__->run_before('load_payment_term', only => [ qw( edit update destroy move_up move_down) ]);
|
||
__PACKAGE__->run_before('load_languages', only => [ qw(new list edit create update) ]);
|
||
|
||
... | ... | |
$self->render(type => 'js', inline => '1;');
|
||
}
|
||
|
||
#
|
||
# filters
|
||
#
|
||
|
||
sub check_auth {
|
||
$::auth->assert('config');
|
||
}
|
||
|
||
#
|
||
# helpers
|
||
#
|
Auch abrufbar als: Unified diff
Rechteprüfung bei Zugriff auf Zahlungsbedingungen-Controller
Conflicts: