From: Moritz Lenz Date: Thu, 19 May 2011 19:53:09 +0000 (+0200) Subject: [doc] replace pseudocode with real code X-Git-Tag: v0.08193~34 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=45eeb990ab0d8e4b23163a8e735f69ce22b0e6d1;p=dbsrgits%2FDBIx-Class.git [doc] replace pseudocode with real code --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 2d1380f..900355c 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -86,7 +86,7 @@ another. sub get_data { my $self = shift; my $request = $self->get_request; # Get a request object somehow. - my $schema = $self->get_schema; # Get the DBIC schema object somehow. + my $schema = $self->result_source->schema; my $cd_rs = $schema->resultset('CD')->search({ title => $request->param('title'),