Skip to content

Commit a9ca3dd

Browse files
authored
Add Horizon Navigation Link (#56)
1 parent 6bf546b commit a9ca3dd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

app/Providers/AppServiceProvider.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ public function boot()
1515
return $next($urls->merge((new StaticWarmExtras)->handle()));
1616
});
1717

18+
// add horizon to the tools navigation
19+
Nav::extend(function ($nav) {
20+
$nav->create('Horizon')
21+
->section('Tools')
22+
->url('/horizon')
23+
->icon('chart-monitoring-indicator')
24+
->attributes(['target' => '_blank']);
25+
});
26+
1827
Fieldtypes\Bard::setDefaultButtons([
1928
'h2',
2029
'h3',

0 commit comments

Comments
 (0)