<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('/', ['uses' => 'HomeController@index']);

Route::get('logout', ['as' => 'user-logout', 'uses' => 'App\Controllers\LoginController@logout']);

require 'routes/user.php';
require 'routes/post.php';
require 'routes/pages.php';

if (!Config::get('disable-game', 0)) {
    require 'routes/games.php';
}
require 'routes/message.php';
require 'routes/connection.php';
require 'routes/search.php';
require 'routes/discover.php';
require 'routes/help.php';
require 'routes/report.php';
require 'routes/additional-page.php';
require 'routes/notification.php';
require 'routes/photo.php';
require 'routes/comment.php';
require 'routes/likes.php';
require 'routes/admincp.php';
require 'routes/community.php';
require 'routes/invite.php';
require 'routes/api.php';
require 'routes/socialauth.php';
require 'install/route.php';

/***user profile***/
require 'routes/profile.php';



