Skip to content

Commit

Permalink
Controller stub update
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersai committed Dec 20, 2019
1 parent ea324c6 commit 9dce4ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The package will automatically register itself.

You can optionally publish the config file with:
```bash
php artisan vendor:publish --provider="CyberSai\LaravelUssd\UssdServiceProvider" --tag="config"
php artisan vendor:publish --provider="CyberSai\LaravelUssd\UssdServiceProvider"
```

This is the contents of the published config file:
Expand Down Expand Up @@ -48,14 +48,14 @@ Supported USSD providers [Ghana]:
php artisan ussd:controller filename
```

**Create USSD Tracker Migration**
**Create USSD Migration**
```bash
php artisan ussd:migration filename
php artisan ussd:migration tablename
```

**Create USSD Model**
```bash
php artisan ussd:model filename
php artisan ussd:model classname
```

**Create USSD List View**
Expand Down Expand Up @@ -110,4 +110,4 @@ MIT. Please see the [license file](license.md) for more information.
[link-travis]: https://travis-ci.org/cybersai/laravel-ussd
[link-styleci]: https://styleci.io/repos/12345678
[link-author]: https://github.com/cybersai
[link-contributors]: ../../contributors
[link-contributors]: ../../contributors
2 changes: 1 addition & 1 deletion src/Console/Commands/CreateListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CreateListView extends GeneratorCommand

protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\USSD';
return $rootNamespace.'\Ussd';
}

protected function getStub()
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/CreateSimpleView.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ protected function getStub()

protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\USSD';
return $rootNamespace.'\Ussd';
}
}
2 changes: 1 addition & 1 deletion src/Console/Commands/CreateTitledView.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CreateTitledView extends GeneratorCommand

protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\USSD';
return $rootNamespace.'\Ussd';
}

protected function getStub()
Expand Down

0 comments on commit 9dce4ba

Please sign in to comment.