I would help if you post your source code for your Dancer application.
Regards
Racke
Most of my code in modules except routing:
**************************
package Astro::Routes;
use Dancer qw(:syntax);
use Astro::Planets;
use Astro::Login;
use Astro::Logout;
use Astro::Register;
use Astro::Astrologers;
post '/register' => sub {
my %params = params;
my %val = %{Astro::Register::run(\%params)};
if ($val{passed}) { redirect '/response/registered.html' }
else { template 'input_errors', { missing => $val{missing}, invalid
=> $val{invalid}, unknown => $val{unknown} }}
};
post '/login' => sub { Astro::Login::run };
post '/planets' => sub { Astro::Planets::run };
post '/logout' => sub { Astro::Logout::run };
get '/astrologers' => sub { Astro::Astrologers::run };
1;
********************************
The registration form submission which produced the error hits the
'/register' route.
gvim
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users