Browse Source

Added a small example on how to call a function in blade :P

Alexandru Bucur 12 years ago
parent
commit
7f7a0cf035
1 changed files with 4 additions and 0 deletions
  1. 4 0
      laravel/documentation/views/templating.md

+ 4 - 0
laravel/documentation/views/templating.md

@@ -64,6 +64,10 @@ Blade makes writing your views pure bliss. To create a blade view, simply name y
 #### Echoing a variable using Blade:
 
 	Hello, {{$name}}.
+	
+#### Calling an echo on a function using Blade:
+
+	{{ Asset::styles() }}
 
 #### Rendering a view: