Conflicts:
templates/webpages/messages/form.html
templates/webpages/messages/list.html
my %params = @_;
my $controller = delete($params{controller}) || $self->_controller_name;
my $action = delete($params{action}) || 'dispatch';
- $params{action} = "${controller}::${action}";
+ $params{action} = "${controller}/${action}";
my $query = join('&', map { $::form->escape($_) . '=' . $::form->escape($params{$_}) } keys %params);
return "controller.pl?${query}";
my ($controller, $action);
eval {
- $::form->{action} =~ m|^ ( [A-Z] [A-Za-z0-9_]* ) :: ( [a-z] [a-z0-9_]* ) $|x || die "Unroutable request -- inavlid controller/action.\n";
+ $::form->{action} =~ m|^ ( [A-Z] [A-Za-z0-9_]* ) / ( [a-z] [a-z0-9_]* ) $|x || die "Unroutable request -- inavlid controller/action.\n";
($controller, $action) = ($1, $2);
delete $::form->{action};