Skip to content

Commit

Permalink
Change @Stop to @endsection
Browse files Browse the repository at this point in the history
Since the auth login example view is using @endsection for @section.
  • Loading branch information
antonybudianto committed May 27, 2015
1 parent 879c709 commit c3dcf47
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 c3dcf47

Please sign in to comment.