public function showCreditsView()
    {
        $this->subMenu['credits']['active'] = true;

        $credits = app(Credits::class)->latest();

        $backers = $credits['backers'];
        $contributors = $credits['contributors'];

        shuffle($backers);
        shuffle($contributors);

        return View::make('dashboard.settings.credits')
            ->withPageTitle(trans('dashboard.settings.credits.credits').' - '.trans('dashboard.dashboard'))
            ->withBackers($backers)
            ->withContributors($contributors)
            ->withSubMenu($this->subMenu);
    }
public function showCreditsView()
    {
        $this->subMenu['credits']['active'] = true;

        $credits = app(Credits::class)->latest();

        $backers = $credits['backers'];
        $contributors = $credits['contributors'];

        shuffle($backers);
        shuffle($contributors);

        return View::make('dashboard.settings.credits')
            ->withPageTitle(trans('dashboard.settings.credits.credits').' - '.trans('dashboard.dashboard'))
            ->withBackers($backers)
            ->withContributors($contributors)
            ->withSubMenu($this->subMenu);
    }
public function showCreditsView ( ) { $ this -> subMenu [ 'credits' ] [ 'active' ] = true ; $ credits = app ( Credits :: class ) -> latest ( ) ; $ backers = $ credits [ 'backers' ] ; $ contributors = $ credits [ 'contributors' ] ; shuffle ( $ backers ) ; shuffle ( $ contributors ) ; return View :: make ( 'dashboard.settings.credits' ) -> withPageTitle ( trans ( 'dashboard.settings.credits.credits' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withBackers ( $ backers ) -> withContributors ( $ contributors ) -> withSubMenu ( $ this -> subMenu ) ; }
Show the credits view.

@return \Illuminate\View\View
Show the credits view .