Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
[Upg] add view customization in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJuliuss committed Oct 7, 2013
1 parent 1aa3de0 commit b86f326
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,13 @@ Example :

Route::get('blog/article/new', array('as' => 'new_article', 'before' => 'hasPermissions:create.article', 'uses' => 'MrJuliuss\Syntara\Controllers\ArticleController@getCreate'));

### Custom view for controller (app/hello-view.blade.php for example)

@extends('syntara::layouts.dashboard.master') <!-- extend the main view of syntaran use navbar, etc -->

@section('content') <!-- content -->
Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat,
vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit
augue duis dolore te feugait nulla facilisi
@stop
### Custom view for controller

In app/routes.php or app/filters.php :

```Config::set('syntara::views.dashboard-index', 'my-view')```

Please see syntara/src/config/views.php for more views

### Extend the user navigation by creating a view composer:

Expand Down

0 comments on commit b86f326

Please sign in to comment.