public function showEditMetricAction(Metric $metric)
    {
        return View::make('dashboard.metrics.edit')
            ->withPageTitle(trans('dashboard.metrics.edit.title').' - '.trans('dashboard.dashboard'))
            ->withMetric($metric)
            ->withAcceptableThresholds(Metric::ACCEPTABLE_THRESHOLDS);
    }
public function showEditMetricAction(Metric $metric)
    {
        return View::make('dashboard.metrics.edit')
            ->withPageTitle(trans('dashboard.metrics.edit.title').' - '.trans('dashboard.dashboard'))
            ->withMetric($metric)
            ->withAcceptableThresholds(Metric::ACCEPTABLE_THRESHOLDS);
    }
public function showEditMetricAction ( Metric $ metric ) { return View :: make ( 'dashboard.metrics.edit' ) -> withPageTitle ( trans ( 'dashboard.metrics.edit.title' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withMetric ( $ metric ) -> withAcceptableThresholds ( Metric :: ACCEPTABLE_THRESHOLDS ) ; }
Shows the edit metric view.

@param \CachetHQ\Cachet\Models\Metric $metric

@return \Illuminate\View\View
Shows the edit metric view .