public function index()
    {
        $contents = Content::with('author')->latestBy(Content::CREATED_AT)->page()->paginate();

        set_meta('title', 'List of Pages');

        return view('orchestra/story::admin.index', [
            'contents' => $contents,
            'create'   => Gate::allows('create', Content::newPageInstance()),
            'type'     => 'page',
        ]);
    }
public function index()
    {
        $contents = Content::with('author')->latestBy(Content::CREATED_AT)->page()->paginate();

        set_meta('title', 'List of Pages');

        return view('orchestra/story::admin.index', [
            'contents' => $contents,
            'create'   => Gate::allows('create', Content::newPageInstance()),
            'type'     => 'page',
        ]);
    }
public function index ( ) { $ contents = Content :: with ( 'author' ) -> latestBy ( Content :: CREATED_AT ) -> page ( ) -> paginate ( ) ; set_meta ( 'title' , 'List of Pages' ) ; return view ( 'orchestra/story::admin.index' , [ 'contents' => $ contents , 'create' => Gate :: allows ( 'create' , Content :: newPageInstance ( ) ) , 'type' => 'page' , ] ) ; }
List all the pages.

@return mixed
List all the pages .