return if $r->{template}; # Authentication has set this, we're done.
$r->{template} = $method;
+ $r->objects([]);
my $obj = $class->retrieve( $r->{args}->[0] );
if ($obj) {
$r->objects([ $obj ]);
sub column_names { my $class = shift; map {
my $col = $_;
- $col =~ s/_+(\w)?/ \U\1/g;
+ $col =~ s/_+(\w)?/ \U$1/g;
$_ => ucfirst $col } $class->columns }
=head2 description