Skip to content

Commit

Permalink
Fix code blocks…
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Nov 19, 2014
1 parent 6e3d004 commit c17f1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/mvc-in-piwik.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ Examples:

- `module=MyPlugin&action=hello` will invoke:

Piwik\Plugins\MyPlugin\Controller::hello()
Piwik\Plugins\MyPlugin\Controller::hello()

- `module=MyPlugin` will invoke:

Piwik\Plugins\MyPlugin\Controller::index()
Piwik\Plugins\MyPlugin\Controller::index()

Controller methods have one thing to do: **return a string response** (or anything that can be cast to a string). Such string could contain HTML, JSON, …

Expand Down

0 comments on commit c17f1b5

Please sign in to comment.