From 937e689cce75c6f0d1300864e3c560bf6bb2fbcd Mon Sep 17 00:00:00 2001 From: Jeremy P Date: Tue, 28 May 2013 15:22:30 -0600 Subject: [PATCH] Change @endsection to @stop Fixes #279 --- quick.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quick.md b/quick.md index 90b1aeca087..ef709a7be96 100644 --- a/quick.md +++ b/quick.md @@ -51,7 +51,7 @@ Next, we'll create our `users.blade.php` view: @section('content') Users! - @endsection + @stop Some of this syntax probably looks quite strange to you. That's because we're using Laravel's templating system: Blade. Blade is very fast, because it is simple a handful of regular expressions that are run against your templates to compile them to pure PHP. Blade provides powerful funtionality like template inheritance, as well as some syntax sugar on typical PHP control structures such as `if` and `for`. Check out the [Blade documentation](/docs/templates) for more details. @@ -138,8 +138,8 @@ Now that we have made the `users` available to our view. We can display them lik @foreach($users as $user)

{{ $user->name }}

@endforeach - @endsection + @stop You may be wondering where to find our `echo` statements. When using Blade, you may echo data by surrounding it with double curly braces. It's a cinch. Now, you should be able to hit the `/users` route and see the names of your users displayed in the response. -This is just the beginning. In this tutorial, you've seen the very basics of Laravel, but there are so many more exciting things to learn. Keep reading through the documentation and dig deeper into the powerful features available to you in [Eloquent](/docs/eloquent) and [Blade](/docs/templates). Or, maybe you're more interested in [Queues](/docs/queues) and [Unit Testing](/docs/testing). Then again, maybe you want to flex your architecture muscles with the [IoC Container](/docs/ioc). The choice is yours! \ No newline at end of file +This is just the beginning. In this tutorial, you've seen the very basics of Laravel, but there are so many more exciting things to learn. Keep reading through the documentation and dig deeper into the powerful features available to you in [Eloquent](/docs/eloquent) and [Blade](/docs/templates). Or, maybe you're more interested in [Queues](/docs/queues) and [Unit Testing](/docs/testing). Then again, maybe you want to flex your architecture muscles with the [IoC Container](/docs/ioc). The choice is yours!