Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 6c0b163

Browse files
Removed config
1 parent 857b7ef commit 6c0b163

3 files changed

Lines changed: 2 additions & 44 deletions

File tree

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,7 @@ You can register the Navigation facade in the `aliases` key of your `app/config/
3131

3232
## Configuration
3333

34-
Laravel Navigation supports optional configuration.
35-
36-
To get started, first publish the package config file:
37-
38-
php artisan config:publish graham-campbell/navigation
39-
40-
There is one config option:
41-
42-
**Navigation View**
43-
44-
This option (`'view'`) defines the view to use for the navigation bar. The default value for this setting is `'graham-campbell/navigation::bootstrap'`.
34+
Laravel Navigation requires no configuration. Just follow the simple install instructions and go!
4535

4636

4737
## Usage

src/NavigationServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function registerNavigation()
6868
$request = $app['request'];
6969
$url = $app['url'];
7070
$view = $app['view'];
71-
$name = $app['config']['graham-campbell/navigation::view'];
71+
$name = 'graham-campbell/navigation::bootstrap';
7272

7373
$navigation = new Navigation($events, $request, $url, $view, $name);
7474
$app->refresh('request', $navigation, 'setRequest');

src/config/config.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)