Skip to content

Commit

Permalink
Merge pull request #7 from bluzphp/develop
Browse files Browse the repository at this point in the history
Prepare for framework 7.6.1
  • Loading branch information
Anton authored Jul 20, 2017
2 parents 27c4d96 + 765927b commit c8ffd47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
26 changes: 6 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,18 @@

[![License](https://poser.pugx.org/bluzphp/module-contact-us/license)](https://packagist.org/packages/bluzphp/module-contact-us)


Usage
-------------------------
### Install module
To install the module run the command:


$ composer require bluzphp/module-contact-us

Then you must enter the environment


Please, enter your environment[dev, production, testing or another] dev


If you use no-interaction mode, you must set an environment variable


$ BLUZ_ENV=dev composer require bluzphp/module-contact-us -n

```bash
php /vendor/bin/bluzman module:install contact-us
```

### Remove module
To remove the module, run the command:


$ composer remove bluzphp/module-contact-us



```bash
php /vendor/bin/bluzman module:remove contact-us
```
3 changes: 1 addition & 2 deletions application/modules/contact-us/controllers/crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
/**
* @var Controller $this
*/
$crud = new Crud();
$crud->setCrud(ContactUs\Crud::getInstance());
$crud = new Crud(ContactUs\Crud::getInstance());

$crud->get('system', 'crud/get');
$crud->post('system', 'crud/post');
Expand Down

0 comments on commit c8ffd47

Please sign in to comment.