/** * @return \Illuminate\Database\Eloquent\Collection|static[] */ public function getRssList() { return $this->rss->all(); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Rss::destroy($id); Session::flash('flash_message', 'Rss successfully deleted!'); return redirect('rss'); }