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 7a95ae3 commit adb9245
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend{
}
.wy-side-nav-search input[type=text]{
border-color:#EC7A76!important;
}
.wy-alert.wy-alert-info, .rst-content .note, .rst-content .wy-alert-info.attention, .rst-content .wy-alert-info.caution, .rst-content .wy-alert-info.danger, .rst-content .wy-alert-info.error, .rst-content .wy-alert-info.hint, .rst-content .wy-alert-info.important, .rst-content .wy-alert-info.tip, .rst-content .wy-alert-info.warning, .rst-content .seealso, .rst-content .wy-alert-info.admonition-todo{
border-radius: 6px;
}
15 changes: 8 additions & 7 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.
| 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.
| To create the Products controller, use the command:
::
Micro controller Products

Expand Down Expand Up @@ -40,9 +40,10 @@ Methods
-------
public
^^^^^^
The second segment of the URI determines which public method in the controller gets called.\n
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.
| 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{
public function hello(){
Expand Down

0 comments on commit adb9245

Please sign in to comment.