Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing constant

  • Loading branch information...
commit f9744fb395ead5781e88ccf922692dbafff7e9f0 1 parent 8b4d633
Zbigniew Lukasiak authored
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.