Add Patreon link and latest Cachet blog posts to dashboard

This commit is contained in:
James Brooks
2016-05-31 19:12:23 +01:00
parent 0190813012
commit f53075ec4f
5 changed files with 50 additions and 13 deletions

View File

@@ -69,14 +69,14 @@ class DashboardController extends Controller
$subscribers = $this->getSubscribers();
$feed = $this->feed->entries();
dd($feed);
$entries = array_slice($feed->channel->item, 0, 5);
return View::make('dashboard.index')
->withPageTitle(trans('dashboard.dashboard'))
->withComponents($components)
->withIncidents($incidents)
->withSubscribers($subscribers)
->withFeed($feed);
->withEntries($entries);
}
/**