diff --git a/docs/custom_modules.rst b/docs/custom_modules.rst index ffe6a05bf662..3f39f5e930f0 100644 --- a/docs/custom_modules.rst +++ b/docs/custom_modules.rst @@ -32,19 +32,19 @@ Run the following command to create a CRUD module: .. code-block:: php - php artisan ninja:make-module Inventory 'name:string,description:text' + php artisan ninja:make-module 'name:string,description:text' You can make adjustments to the migration file and then run: .. code-block:: php - php artisan module:migrate Inventory + php artisan module:migrate To create and migrate in one step add ``--migrate=true`` .. code-block:: php - php artisan ninja:make-module Inventory 'name:string,description:text' --migrate=true + php artisan ninja:make-module 'name:string,description:text' --migrate=true .. Tip:: You can specify the module icon by setting a value from http://fontawesome.io/icons/ for "icon" in modules.json.