Sixtease has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I'm looking for a way to tell Catalyst to add a trailing slash if one is not present to the URL of the request and redirect there. But only if the request is not being handled by Static::Simple.
I could do it by checking the URL in every action but I'd prefer to have it globally in one place. How can I do that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Catalyst - Add Trailing Slashes to URLs
by dsheroh (Monsignor) on Dec 02, 2008 at 15:38 UTC | |
by Sixtease (Friar) on Dec 02, 2008 at 16:33 UTC | |
by dsheroh (Monsignor) on Dec 03, 2008 at 01:13 UTC | |
|
Re: Catalyst - Add Trailing Slashes to URLs
by jasonk (Parson) on Dec 04, 2008 at 04:45 UTC |