FAQ

On Wed, Apr 29, 2009 at 05:31:43PM -0300, Fernan Aguero wrote:
On Wed, Apr 29, 2009 at 5:23 PM, Charles wrote:
I'd like someone w/ better catalyst-fu to recommend how I could implement
urls for members a la myspace and youtube ( ie
?http://websiteurl.com/<membername> ) .
There's got to be a better way that creating a seperate controller for each
user.
sub member : Regex('\S+') {
my ($self, $c) = @_;
Using Regex for that seems weird to me.

sub member : Chained(/) Args(1) {
my ($self, $c, $id) = @_;
...
}

hdp.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 15 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedApr 29, '09 at 8:23p
activeApr 30, '09 at 2:04p
posts15
users9
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase