Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update readme

  • Loading branch information...
commit 1853a2464ab1d468e42999f7d07ed57f3760cb18 1 parent 43b0f8c
Akron authored
Showing with 6 additions and 6 deletions.
  1. +3 −3 Readme.pod
  2. +3 −3 lib/Mojolicious/Plugin/Piwik.pm
View
6 Readme.pod
@@ -219,13 +219,13 @@ ready to be embedded as the C<src> of an C<E<lt>img /E<gt> tag.
=head2 piwik_api_url
my $src_url = $c->piwik_api_url(
- ImageGraph.get => {
+ 'ImageGraph.get' => {
apiModule => 'VisitsSummary',
apiAction => 'get',
graphType => 'evolution',
period => 'day',
- date => 'last30',
- width => 500,
+ date => 'last30',
+ width => 500,
height => 250
});
View
6 lib/Mojolicious/Plugin/Piwik.pm
@@ -548,13 +548,13 @@ ready to be embedded as the C<src> of an C<E<lt>img /E<gt> tag.
=head2 piwik_api_url
my $src_url = $c->piwik_api_url(
- ImageGraph.get => {
+ 'ImageGraph.get' => {
apiModule => 'VisitsSummary',
apiAction => 'get',
graphType => 'evolution',
period => 'day',
- date => 'last30',
- width => 500,
+ date => 'last30',
+ width => 500,
height => 250
});
Please sign in to comment.
Something went wrong with that request. Please try again.