mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Fix typo in readme (#3)
This commit is contained in:
parent
12e5ac04cf
commit
e7e15afdcb
@ -65,7 +65,7 @@ registerController("ExampleController", ['$api', '$scope', function($api, $scope
|
||||
This snippet makes use of our API to send a request to our PHP with the `getHello` action, and will set it a response into the `$scope.hello` variable.
|
||||
|
||||
### module.php
|
||||
The `php/module.php` file must be in the `pineapple` namespace, and contain a routing switch statement, for example:
|
||||
The `api/module.php` file must be in the `pineapple` namespace, and contain a routing switch statement, for example:
|
||||
|
||||
```
|
||||
<?php namespace pineapple;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user