aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-12-17 15:28:18 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-12-17 15:33:11 +0100
commit82ba18511403dae8efb829c4b9be9c3539a355ab (patch)
tree4623dd8222cdc57ac958104133fe2e48543c4a83 /docs
parente70e9e8e041063caf0922e504fbf6069d06faa5e (diff)
Minz Controllers directory uppercase
https://github.com/FreshRSS/FreshRSS/pull/1729
Diffstat (limited to 'docs')
-rw-r--r--docs/en/developers/03_Backend/05_Extensions.md4
-rw-r--r--docs/fr/developers/03_Backend/05_Extensions.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md
index 1be8ad126..fb85234c4 100644
--- a/docs/en/developers/03_Backend/05_Extensions.md
+++ b/docs/en/developers/03_Backend/05_Extensions.md
@@ -294,7 +294,7 @@ You may also need additional files or subdirectories depending on your needs:
- `configure.phtml` is the file containing the form to parameterize your extension
- A `static/` directory containing CSS and JavaScript files that you will need for your extension (note that if you need to write a lot of CSS it may be more interesting to write a complete theme)
-- A `controllers` directory containing additional controllers
+- A `Controllers` directory containing additional controllers
- An `i18n` directory containing additional translations
- `layout` and` views` directories to define new views or to overwrite the current views
@@ -336,7 +336,7 @@ In addition, you will have a number of methods directly inherited from `Minz_Ext
- The "getters" first: most are explicit enough not to detail them here - `getName()`, `getEntrypoint()`, `getPath()` (allows you to retrieve the path to your extension), `getAuthor()`, `getDescription()`, `getVersion()`, `getType()`.
- `getFileUrl($filename, $type)` will return the URL to a file in the `static` directory. The first parameter is the name of the file (without `static /`), the second is the type of file to be used (`css` or` js`).
-- `registerController($base_name)` will tell Minz to take into account the given controller in the routing system. The controller must be located in your `controllers` directory, the name of the file must be` <base_name>Controller.php` and the name of the `FreshExtension_<base_name>_Controller` class.
+- `registerController($base_name)` will tell Minz to take into account the given controller in the routing system. The controller must be located in your `Controllers` directory, the name of the file must be` <base_name>Controller.php` and the name of the `FreshExtension_<base_name>_Controller` class.
**TODO**
diff --git a/docs/fr/developers/03_Backend/05_Extensions.md b/docs/fr/developers/03_Backend/05_Extensions.md
index 1f4fc4a4b..f844accd1 100644
--- a/docs/fr/developers/03_Backend/05_Extensions.md
+++ b/docs/fr/developers/03_Backend/05_Extensions.md
@@ -277,7 +277,7 @@ Il est possible aussi que vous ayez besoin de fichiers ou sous-répertoires addi
- `configure.phtml` est le fichier contenant le formulaire permettant de paramétrer votre extension ;
- Un répertoire `static/` contenant fichiers CSS et JavaScript dont vous aurez besoin pour votre extension. Notez que si vous devez écrire beaucoup de CSS il est peut-être plus intéressant d'écrire un thème complet (mais ce n'est pas le sujet de cette fiche technique) ;
-- Un répertoire `controllers` contenant des contrôleurs additionnels ;
+- Un répertoire `Controllers` contenant des contrôleurs additionnels ;
- Un répertoire `i18n` contenant des traductions supplémentaires ;
- Des répertoires `layout` et `views` permettant de définir de nouvelles vues ou d'écraser les vues actuelles.