public function settings()
    {
        $pages = $this->page->get();
        $site = $this->site->first(); //change method to get active site
        
        return view('chuckcms::backend.settings.index', compact('pages', 'site'));
    }
public function settings()
    {
        $pages = $this->page->get();
        $site = $this->site->first(); //change method to get active site
        
        return view('chuckcms::backend.settings.index', compact('pages', 'site'));
    }
public function settings ( ) { $ pages = $ this -> page -> get ( ) ; $ site = $ this -> site -> first ( ) ; //change method to get active site return view ( 'chuckcms::backend.settings.index' , compact ( 'pages' , 'site' ) ) ; }
Show the dashboard -> pages.

@return \Illuminate\View\View
Show the dashboard - > pages .