lundi 19 septembre 2016

Laravel Change Blade Delimiters Only for Application Routes, But Not Package Templates

Is there a way to only set Blade::setContentTags for our application routes, but not any package routes? For example when using the pretty routes package.

I usually just add this to AppServiceProvider so I don't have to update AngularJS delimiters, since we only have a single blade template, and some partials, but there are a couple packages we use that need the curly delimiters (>1%) so definitely worth changing them and not AngularJS's delimiters.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire