[Dancer-users] Pass to own request
igor.bujna at post.cz
igor.bujna at post.cz
Sun Oct 3 22:15:24 CEST 2010
Hi,
I'm found in documentation 'pass' function which make procesing of next request. But i want in some my code to put other request but request not from next matching route. Something like that:
get '/index' => sub {
.......
};
get '/some/route' => sub {
if (...) {
# How can I put this code to '/index' route not use redirect.
}
}
Thank for yours answer and sorry for my english :( I must learn
More information about the Dancer-users
mailing list