PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / trunk
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder vtrunk
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Http/Routes/api.php +5 -2 6.2.12 → trunk View file →
@@ -3,15 +3,18 @@
3 3 defined('ABSPATH') || exit;
4 4
5 5 /**
6 6 * REST API route definitions.
7 - *
8 - * @var $router \FluentForm\Framework\Http\Router
9 7 */
10 8
11 9 /*
12 10 * Forms resource
13 11 */
12 +/**
13 + * Router supplied by the framework's route loader.
14 + *
15 + * @var \FluentForm\Framework\Http\Router $router
16 + */
14 17 $router->prefix('forms')->withPolicy('FormPolicy')->group(function ($router) {
15 18 $router->get('/', 'FormController@index');
16 19 $router->post('/', 'FormController@store');
17 20 $router->get('templates', 'FormController@templates');