Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ UNRELEASED CHANGES:
* Docker image: reduce size of image
* Docker image: create storage subdirectory in case they not exist
* Docker image: use rewrite rules in .htaccess from public directory instead of apache conf file
* Remove trailing slash from routes

RELEASED VERSIONS:

Expand Down
6 changes: 3 additions & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@

Route::middleware(['auth', '2fa'])->group(function () {
Route::group(['as' => 'dashboard'], function () {
Route::get('/dashboard/', 'DashboardController@index')->name('.index');
Route::get('/dashboard', 'DashboardController@index')->name('.index');
Route::get('/dashboard/calls', 'DashboardController@calls');
Route::get('/dashboard/notes', 'DashboardController@notes');
Route::post('/dashboard/setTab', 'DashboardController@setTab');
});
Route::post('/validate2fa', 'DashboardController@index');

Route::group(['as' => 'people'], function () {
Route::get('/people/', 'ContactsController@index')->name('.index');
Route::get('/people', 'ContactsController@index')->name('.index');
Route::get('/people/add', 'ContactsController@create')->name('.create');
Route::get('/people/notfound', 'ContactsController@missing')->name('.missing');
Route::post('/people/', 'ContactsController@store')->name('.store');
Route::post('/people', 'ContactsController@store')->name('.store');

// Dashboard
Route::get('/people/{contact}', 'ContactsController@show')->name('.show');
Expand Down