Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Overriding default blades

Jason Xie edited this page Jan 27, 2016 · 1 revision

When you need to override the default blades provided by the ticketit package, you can put this line "AFTER" the ticketit service provider initialized.

Eg. In you App\Providers\AppServiceProvider.php :

public function boot() {
 // Register the ticketit
 $this->app->register(\Kordy\Ticketit\TicketitServiceProvider::class);

 // Override the blades from resources/views/ticketit folder
 // Make sure you copy the entire default Views/xxx blades there.
 $this->loadViewsFrom(resource_path() . '/views/ticketit', 'ticketit');

}