Permalink
Browse files

Fixed the confusion between app and controller once more

  • Loading branch information...
1 parent a379497 commit 066fa0c1beda23eceb7aee34409df674dbd1b3ec @benvanstaveren committed Apr 24, 2011
Showing with 5 additions and 6 deletions.
  1. +4 −4 dist.ini
  2. +1 −2 lib/Mojolicious/Plugin/Disqus.pm
View
@@ -10,16 +10,16 @@ tag_message = Release: %v
[Git::NextVersion]
first_version = 1.00
version_regexp = ^(.+)$
-
[@Basic]
[ModuleBuild]
+mb_version = 0.38
+[NextRelease]
[PkgVersion]
[PodVersion]
-[NextRelease]
[MetaJSON]
[AutoPrereqs]
-
[GitHub::Update]
cpan = 1
-
[GitHub::Meta]
+[ReadmeFromPod]
+[ChangesTests]
@@ -15,8 +15,7 @@ sub register {
Net::Disqus->new(%$args);
});
$app->helper(disqus => sub {
- my $self = shift;
- $self->_disqus->fetch(@_);
+ $app->_disqus()->fetch(@_);
});
}

0 comments on commit 066fa0c

Please sign in to comment.