Fix random action apidoc comment

This commit is contained in:
Starbeamrainbowlabs 2018-02-14 22:46:31 +00:00
parent 5b20df5b3d
commit c355c89b30
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 3 additions and 3 deletions

View File

@ -8,12 +8,12 @@ register_module([
"code" => function() {
global $settings;
/**
* @api {get} ?action=random[&mode={mode}] Redirects to a random page.
* @apiName RawSource
* @api {get} ?action=random[&mode={modeName}] Redirects to a random page
* @apiName Random
* @apiGroup Page
* @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() {