Skip to content

Commit

Permalink
Change @endsection to @Stop
Browse files Browse the repository at this point in the history
Fixes #279
  • Loading branch information
Jeremy P committed May 28, 2013
1 parent f623782 commit 937e689
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -138,8 +138,8 @@ Now that we have made the `users` available to our view. We can display them lik
@foreach($users as $user)
<p>{{ $user->name }}</p>
@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!
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!

0 comments on commit 937e689

Please sign in to comment.