Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to recent subrequest

  • Loading branch information...
commit f52d2941c0c2ddc59a1015563c622f0fbb26a19d 1 parent 6ef3946
@marcusramberg marcusramberg authored
View
4 Changes
@@ -1,5 +1,9 @@
+1.05 2012-09-07 12:13
New features
- Simple yet effective anti-bot registration measure: signup question (dandv)
+
+ Bug fixes:
+ - Change include formatter to work with latest SubRequest
1.05 2011-09-14 04:20
View
2  Makefile.PL
@@ -24,7 +24,7 @@ requires(
'Catalyst::Plugin::Cache' => 0.08,
'Catalyst::Plugin::ConfigLoader' => '0.13',
'Catalyst::Plugin::I18N' => 0,
- 'Catalyst::Plugin::SubRequest' => '0.15',
+ 'Catalyst::Plugin::SubRequest' => '0.19',
'Catalyst::Plugin::Session::State::Cookie' => 0.11,
'Catalyst::Plugin::Session::Store::Cache' => '0',
'Catalyst::Plugin::Setenv' => 0,
View
2  lib/MojoMojo.pm
@@ -31,7 +31,7 @@ use Module::Pluggable::Ordered
except => qr/^MojoMojo::Plugin::/,
require => 1;
-our $VERSION = '1.05';
+our $VERSION = '1.06';
use 5.008004;
MojoMojo->config->{authentication}{dbic} = {
View
2  lib/MojoMojo/Formatter/Include.pm
@@ -80,7 +80,7 @@ sub include {
my $rel = $url->rel( $c->req->base );
if (not $rel->scheme) {
# if so, then return the inline version of the page is requests
- return $c->subreq( '/inline', { path => $rel.'' eq './' ? '/' : '/'.$rel } );
+ return $c->subreq( ($rel.'' eq './' ? '/' : '/'.$rel).'.inline' );
}
my $res = URI::Fetch->fetch( $url, Cache => $c->cache );
return $res->content if defined $res;
Please sign in to comment.
Something went wrong with that request. Please try again.