mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Fix random action apidoc comment
This commit is contained in:
parent
5b20df5b3d
commit
c355c89b30
1 changed files with 3 additions and 3 deletions
|
@ -8,12 +8,12 @@ register_module([
|
||||||
"code" => function() {
|
"code" => function() {
|
||||||
global $settings;
|
global $settings;
|
||||||
/**
|
/**
|
||||||
* @api {get} ?action=random[&mode={mode}] Redirects to a random page.
|
* @api {get} ?action=random[&mode={modeName}] Redirects to a random page
|
||||||
* @apiName RawSource
|
* @apiName Random
|
||||||
* @apiGroup Page
|
* @apiGroup Page
|
||||||
* @apiPermission Anonymous
|
* @apiPermission Anonymous
|
||||||
*
|
*
|
||||||
* @apiParam {string} mode The view mode to redirect to. This parameter is basically just passed through to the direct - it works in the same way as the mode parameter on the _view_ action does.
|
* @apiParam {string} mode The view mode to redirect to. This parameter is basically just passed through to the direct. It works in the same way as the mode parameter on the view action does.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
add_action("random", function() {
|
add_action("random", function() {
|
||||||
|
|
Loading…
Reference in a new issue