Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the confusion between app and controller once more

  • Loading branch information...
commit 066fa0c1beda23eceb7aee34409df674dbd1b3ec 1 parent a379497
@benvanstaveren authored
Showing with 5 additions and 6 deletions.
  1. +4 −4 dist.ini
  2. +1 −2  lib/Mojolicious/Plugin/Disqus.pm
View
8 dist.ini
@@ -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]
View
3  lib/Mojolicious/Plugin/Disqus.pm
@@ -15,8 +15,7 @@ sub register {
Net::Disqus->new(%$args);
});
$app->helper(disqus => sub {
- my $self = shift;
- $self->_disqus->fetch(@_);
+ $app->_disqus()->fetch(@_);
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.