public function showMetrics()
    {
        $metrics = Metric::orderBy('order')->orderBy('id')->get();

        return View::make('dashboard.metrics.index')
            ->withPageTitle(trans('dashboard.metrics.metrics').' - '.trans('dashboard.dashboard'))
            ->withMetrics($metrics);
    }
public function showMetrics()
    {
        $metrics = Metric::orderBy('order')->orderBy('id')->get();

        return View::make('dashboard.metrics.index')
            ->withPageTitle(trans('dashboard.metrics.metrics').' - '.trans('dashboard.dashboard'))
            ->withMetrics($metrics);
    }
public function showMetrics ( ) { $ metrics = Metric :: orderBy ( 'order' ) -> orderBy ( 'id' ) -> get ( ) ; return View :: make ( 'dashboard.metrics.index' ) -> withPageTitle ( trans ( 'dashboard.metrics.metrics' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withMetrics ( $ metrics ) ; }
Shows the metrics view.

@return \Illuminate\View\View
Shows the metrics view .