Skip to content

Commit

Permalink
Closes area17#692: Add secondary_navigation example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvolkering authored and ifox committed Jul 15, 2020
1 parent d54b94a commit 19879f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/.sections/getting-started/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ return [
'projects' => [
'title' => 'Projects',
'module' => true,
'secondary_navigation' => [
'projectCustomers' => [
'title' => 'Customers',
'module' => true
],
]
],
'clients' => [
'title' => 'Clients',
Expand All @@ -50,6 +56,9 @@ To make it work properly and to get active states automatically in Twill's UI, y
Route::module('pages');

Route::group(['prefix' => 'work'], function () {
Route::group(['prefix' => 'projects'], function () {
Route::module('projectCustomers');
});
Route::module('projects');
Route::module('clients');
Route::module('industries');
Expand Down

0 comments on commit 19879f0

Please sign in to comment.