Skip to content

Instantly share code, notes, and snippets.

@jjn1056
Created September 7, 2010 17:54
Show Gist options
  • Save jjn1056/568738 to your computer and use it in GitHub Desktop.
Save jjn1056/568738 to your computer and use it in GitHub Desktop.
under start {
final action landing as '';
final action gallery(Str $name) as ''
with BuildDBICResult(
store=>'category_rs',
find_condition=>[{columns=>['name']}],
) {
if(my $category = $ctx->stash->{category_rs}->find({name=>$name})) {
my %params = %{$ctx->req->query_parameters};
## yada yada
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment