Skip to content

Commit

Permalink
Merge pull request #4 from ezra-obiwale/wip
Browse files Browse the repository at this point in the history
Fixed storeResponse issue
  • Loading branch information
ezra-obiwale authored Dec 22, 2017
2 parents f4d9bb3 + ad3993d commit 14bb215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/Traits/Web.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function error($message, $errors = null, $code = 400)
return $back;
}

protected function storeResponse($data)
protected function storeResponse(Model $data)
{
return back()->withStatus('Create successful');
}
Expand Down

0 comments on commit 14bb215

Please sign in to comment.