Permalink
Browse files

removing constant

  • Loading branch information...
1 parent 8b4d633 commit f9744fb395ead5781e88ccf922692dbafff7e9f0 Zbigniew Lukasiak committed Sep 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/WebNano-Controller-CRUD/lib/WebNano/Controller/CRUD.pm
@@ -49,7 +49,7 @@ around 'local_dispatch' => sub {
my( $orig, $self, $path, @args ) = @_;
my $parsed = $self->parse_path( $path );
if( $parsed ){
- my $rs = $self->application->schema->resultset( 'Dvd' );
+ my $rs = $self->application->schema->resultset( $self->rs_name );
my $record = $rs->find( @{ $parsed->{ids} } );
if( ! $record ) {
my $res = $self->request->new_response(404);

0 comments on commit f9744fb

Please sign in to comment.