forked from eatvio/eatvio-infra
clear comments from tests
This commit is contained in:
@@ -171,7 +171,7 @@ class Edit extends Component
|
||||
$this->validate();
|
||||
|
||||
$this->plan->name = $this->name;
|
||||
$this->plan->image = ! is_string($this->image) ? $this->image->store('plans', 'public') : $this->image;
|
||||
$this->plan->image = ! is_string($this->image) ? $this->image->store('plans') : $this->image;
|
||||
$this->plan->duration = $this->duration;
|
||||
$this->plan->state = $this->state;
|
||||
$this->plan->details = $this->details;
|
||||
@@ -186,7 +186,7 @@ class Edit extends Component
|
||||
// $user = Auth::user();
|
||||
// $user->author_of_plans()->attach($plan->id);
|
||||
|
||||
$this->redirectRoute('recipe.show', $this->plan);
|
||||
$this->redirectRoute('plan.show', $this->plan);
|
||||
}
|
||||
|
||||
public function addToDrafts()
|
||||
|
||||
Reference in New Issue
Block a user