Skip to content

Commit

Permalink
doc line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Oct 18, 2017
1 parent adb9245 commit 6271577
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/controller/controllers.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Ubiquity Controllers
====================
| A controller is a PHP class inheriting from ``micro\controllers\Controller``, providing an entry point in the application.
| Controllers and their methods define accessible URLs.
A controller is a PHP class inheriting from ``micro\controllers\Controller``, providing an entry point in the application. |br|
Controllers and their methods define accessible URLs.

Controller creation
-------------------
The easiest way to create a controller is to do it from the devtools.

| From the command prompt, go to the project folder.
| To create the Products controller, use the command:
From the command prompt, go to the project folder. |br|
To create the Products controller, use the command:
::
Micro controller Products

Expand Down Expand Up @@ -40,8 +40,8 @@ Methods
-------
public
^^^^^^
| The second segment of the URI determines which public method in the controller gets called.
| The “index” method is always loaded by default if the second segment of the URI is empty.
The second segment of the URI determines which public method in the controller gets called. |br|
The “index” method is always loaded by default if the second segment of the URI is empty.
.. code-block:: php
:linenos:
class First extends ControllerBase{
Expand Down
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

.. |br| raw:: html

<br />

0 comments on commit 6271577

Please sign in to comment.