-
-
Save oliuz/9e06963325cad17c13be33c696365bf3 to your computer and use it in GitHub Desktop.
@route blade directive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Blade::directive('route', function ($expression) { | |
return '<?php route(' . $expression . '); ?>'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment