Skip to content

Commit

Permalink
Merge pull request munafio#11 from rigonlucas/master
Browse files Browse the repository at this point in the history
Fix: MassageController not applies changes when publishing its asset.
  • Loading branch information
munafio authored Apr 16, 2020
2 parents 3d1f957 + b3a503a commit 341365f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions config/chatify.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,19 @@
// Below is the route name to download attachments.
'route' => 'attachments.download',
],


/*
|--------------------------------------------------------------------------
| Route's controllers namespace
|--------------------------------------------------------------------------
|
| You may need to change the namespace of the route's controllers of
| this package after publishing the 'controllers' asset, from the
| default one to your App's controllers namespace.
|
| By default: Chatify\Http\Controllers
|
*/
'namespace' => env('CHATIFY_ROUTES_NAMESPACE', 'Chatify\Http\Controllers'),
];
2 changes: 1 addition & 1 deletion src/ChatifyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private function routesConfigurations()
{
return [
'prefix' => config('chatify.path'),
'namespace' => 'Chatify\Http\Controllers',
'namespace' => config('chatify.namespace'),
'middleware' => ['web', config('chatify.middleware')],
];
}
Expand Down

0 comments on commit 341365f

Please sign in to comment.