Skip to content

Instantly share code, notes, and snippets.

@rumidier
Created July 12, 2012 04:46
Show Gist options
  • Save rumidier/3095846 to your computer and use it in GitHub Desktop.
Save rumidier/3095846 to your computer and use it in GitHub Desktop.
List-view-action
sub view :Local :CaptureArgs(1) {
my ( $self, $c, $charge_id) = @_;
my $charge = $c->model('DonDB')->resultset('Charge')->find($charge_id);
$c->stash(
charge => $charge
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment