Catalyst 5.90040

agranig/1_0_subfix
Lars Dieckow 13 years ago
parent 421f9f319d
commit 67a7ff3627

@ -23,7 +23,7 @@ sub auto :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) :AllowedRol
return 1;
}
sub profile_list :Chained('/') :PathPart('billing') :CaptureArgs(0) :Args(0) {
sub profile_list :Chained('/') :PathPart('billing') :CaptureArgs(0) {
my ( $self, $c ) = @_;
NGCP::Panel::Utils::check_redirect_chain(c => $c);
@ -49,7 +49,7 @@ sub ajax :Chained('profile_list') :PathPart('ajax') :Args(0) {
$c->detach( $c->view("JSON") );
}
sub base :Chained('profile_list') :PathPart('') :CaptureArgs(1) :Args(0) {
sub base :Chained('profile_list') :PathPart('') :CaptureArgs(1) {
my ($self, $c, $profile_id) = @_;
unless($profile_id && $profile_id->is_integer) {

@ -12,7 +12,7 @@ sub auto :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) :AllowedRol
return 1;
}
sub dom_list :Chained('/') :PathPart('domain') :CaptureArgs(0) :Args(0) {
sub dom_list :Chained('/') :PathPart('domain') :CaptureArgs(0) {
my ($self, $c) = @_;
$c->stash(has_edit => 0);
@ -51,7 +51,7 @@ sub create :Chained('dom_list') :PathPart('create') :Args(0) {
$c->stash(form => $form);
}
sub base :Chained('/domain/dom_list') :PathPart('') :CaptureArgs(1) :Args(0) {
sub base :Chained('/domain/dom_list') :PathPart('') :CaptureArgs(1) {
my ($self, $c, $domain_id) = @_;
unless($domain_id && $domain_id->is_integer) {
@ -161,7 +161,7 @@ sub preferences :Chained('base') :PathPart('preferences') :Args(0) {
$c->stash(template => 'domain/preferences.tt');
}
sub preferences_base :Chained('base') :PathPart('preferences') :CaptureArgs(1) :Args(0) {
sub preferences_base :Chained('base') :PathPart('preferences') :CaptureArgs(1) {
my ($self, $c, $pref_id) = @_;
$self->load_preference_list($c);

@ -15,7 +15,7 @@ sub auto :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) {
return 1;
}
sub group_list :Chained('/') :PathPart('peering') :CaptureArgs(0) :Args(0) {
sub group_list :Chained('/') :PathPart('peering') :CaptureArgs(0) {
my ( $self, $c ) = @_;
NGCP::Panel::Utils::check_redirect_chain(c => $c);
@ -41,7 +41,7 @@ sub ajax :Chained('group_list') :PathPart('ajax') :Args(0) {
$c->detach( $c->view("JSON") );
}
sub base :Chained('group_list') :PathPart('') :CaptureArgs(1) :Args(0) {
sub base :Chained('group_list') :PathPart('') :CaptureArgs(1) {
my ($self, $c, $group_id) = @_;
unless($group_id && $group_id->is_integer) {

Loading…
Cancel
Save