We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbb628b commit b96c7daCopy full SHA for b96c7da
web-developer/laravel/tips/blade.md
@@ -0,0 +1,7 @@
1
+
2
3
+## conditional extends
4
5
+```php
6
+@extends((( Request::ajax()) ? 'layouts.ajax' : 'layouts.default' ))
7
+```
0 commit comments