post '/user/add' => sub { # ... validate input and create database record ... flash "User successfully added"; redirect '/user'; };
post '/user/add' => sub { # ... validate input and create database record ... flash "User successfully added"; redirect '/user'; };