Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Check path for Laravel 5 #53

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions src/DaveJamesMiller/Breadcrumbs/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@ public function boot()
// Load the app breadcrumbs if they're in app/breadcrumbs.php
if (file_exists($file = $this->app['path'].'/breadcrumbs.php'))
require $file;

elseif (file_exists($file = $this->app['path'].'/Http/breadcrumbs.php'))
require $file;
}
}