예제 #1
0
 public function store($input)
 {
     $this->setUser();
     if (!isset($input['user_id'])) {
         $input['user_id'] = $this->user->id();
     }
     return parent::store($input);
 }
예제 #2
0
 public function destroy($id)
 {
     Cache::forget('pageMenu');
     return parent::destroy($id);
 }
예제 #3
0
 public function store($input)
 {
     $this->setUser();
     $input['assigned_by'] = $this->user->id();
     return parent::store($input);
 }