'use strict';

module.exports = function(app) {
	// Root routing
	var feed = require('../../app/controllers/feed.server.controller');

	app.route('/feed')
		.get(feed.all);

	app.route('/daily-chart')
		.get(feed.dailyChart);

	app.route('/popular-activity')
		.get(feed.popularActivity);

	app.route('/events-chart')
		.get(feed.eventsChart);
};