This commit is contained in:
James Brooks 2015-03-12 07:26:15 +00:00
parent 71aae70306
commit 6f6e052f98
3 changed files with 3 additions and 3 deletions

View File

@ -84,6 +84,7 @@ class MetricController extends Controller
public function putMetric($id)
{
dd($id);
return $this->metric->update($id, Binput::all());
}

View File

@ -55,7 +55,7 @@ class MetricPointController extends Controller
}
/**
* Updates a metric point
* Updates a metric point.
*
* @param int $metricId
* @param int $pointId

View File

@ -2,12 +2,11 @@
namespace CachetHQ\Cachet\Models;
use Carbon\Carbon;
use CachetHQ\Cachet\Transformers\IncidentTransformer;
use Carbon\Carbon;
use Dingo\Api\Transformer\TransformableInterface;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletingTrait;
use Jenssegers\Date\Date;
use McCool\LaravelAutoPresenter\PresenterInterface;
use Watson\Validating\ValidatingTrait;