Exemplo n.º 1
0
 /**
  * Responds to requests to GET /announcements
  */
 public function getIndex()
 {
     $announcements = \App\Announcement::getAllAnnouncements();
     return view('announcements.index')->with('announcements', $announcements);
 }