@@ -225,8 +225,7 @@ |
||
225 | 225 | if ($type == 'success') { |
226 | 226 | session()->flash( |
227 | 227 | 'success', |
228 | - $this->isCreating ? "The category has been created successfully !" : |
|
229 | - "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
228 | + $this->isCreating ? "The category has been created successfully !" : "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
230 | 229 | ); |
231 | 230 | } else { |
232 | 231 | session()->flash('danger', "An error occurred while saving the category !"); |
@@ -226,8 +226,7 @@ |
||
226 | 226 | if ($type == 'success') { |
227 | 227 | session()->flash( |
228 | 228 | 'success', |
229 | - $this->isCreating ? "The permission has been created successfully !" : |
|
230 | - "The permission <b>{$this->model->title}</b> has been edited successfully !" |
|
229 | + $this->isCreating ? "The permission has been created successfully !" : "The permission <b>{$this->model->title}</b> has been edited successfully !" |
|
231 | 230 | ); |
232 | 231 | } else { |
233 | 232 | session()->flash('danger', "An error occurred while saving the permission !"); |