Skip to content

Commit

Permalink
Merge pull request laravel#1471 from antonybudianto/patch-2
Browse files Browse the repository at this point in the history
Change @Stop to @endsection
  • Loading branch information
taylorotwell committed May 27, 2015
2 parents b58d95d + c3dcf47 commit 95745ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ When defining a child page, you may use the Blade `@extends` directive to specif
@@parent

<p>This is appended to the master sidebar.</p>
@stop
@endsection

@section('content')
<p>This is my body content.</p>
@stop
@endsection

In this example, the `sidebar` section is utilizing the `@@parent` directive to append (rather than overwriting) content to the layout's sidebar. The `@@parent` directive will be replaced by the content of the layout when the view is rendered.

Expand Down

0 comments on commit 95745ef

Please sign in to comment.