public function create()
    {
        $template = $this->template->where('active', 1)->where('type', 'admin')->first();
        $templates = $this->template->where('active', 1)->where('type', 'default')->get();
        $pageViews = $this->template->getPageViews();
        return view('chuckcms::backend.pages.create', compact('template', 'templates', 'page', 'pageViews'));
    }
public function create()
    {
        $template = $this->template->where('active', 1)->where('type', 'admin')->first();
        $templates = $this->template->where('active', 1)->where('type', 'default')->get();
        $pageViews = $this->template->getPageViews();
        return view('chuckcms::backend.pages.create', compact('template', 'templates', 'page', 'pageViews'));
    }
public function create ( ) { $ template = $ this -> template -> where ( 'active' , 1 ) -> where ( 'type' , 'admin' ) -> first ( ) ; $ templates = $ this -> template -> where ( 'active' , 1 ) -> where ( 'type' , 'default' ) -> get ( ) ; $ pageViews = $ this -> template -> getPageViews ( ) ; return view ( 'chuckcms::backend.pages.create' , compact ( 'template' , 'templates' , 'page' , 'pageViews' ) ) ; }
Show the dashboard -> page create.

@return \Illuminate\View\View
Show the dashboard - > page create .