Esempio n. 1
0
<?php

ModuleRoute::context('Shouts');
ModuleRoute::post('shouts', 'ShoutsController@store');
Esempio n. 2
0
<?php

ModuleRoute::context('Countries');
ModuleRoute::resource('admin/countries', 'AdminCountriesController');
ModuleRoute::get('admin/countries/{id}/restore', ['as' => 'admin.countries.restore', 'uses' => 'AdminCountriesController@restore']);
ModuleRoute::post('admin/countries/search', 'AdminCountriesController@search');
Esempio n. 3
0
<?php

ModuleRoute::context('Slides');
ModuleRoute::resource('admin/slidecats', 'AdminSlidecatsController');
ModuleRoute::get('admin/slidecats/{id}/restore', ['as' => 'admin.slidecats.restore', 'uses' => 'AdminSlidecatsController@restore']);
ModuleRoute::post('admin/slidecats/search', 'AdminSlidecatsController@search');
ModuleRoute::resource('admin/slides', 'AdminSlidesController');
ModuleRoute::get('admin/slides/{id}/restore', ['as' => 'admin.slides.restore', 'uses' => 'AdminSlidesController@restore']);
ModuleRoute::post('admin/slides/search', 'AdminSlidesController@search');
Esempio n. 4
0
<?php

ModuleRoute::context('Games');
ModuleRoute::resource('admin/games', 'AdminGamesController');
ModuleRoute::get('admin/games/{id}/restore', ['as' => 'admin.games.restore', 'uses' => 'AdminGamesController@restore']);
ModuleRoute::post('admin/games/search', 'AdminGamesController@search');
Esempio n. 5
0
<?php

ModuleRoute::context('Matches');
ModuleRoute::resource('admin/matches', 'AdminMatchesController');
ModuleRoute::get('admin/matches/{id}/restore', ['as' => 'admin.matches.restore', 'uses' => 'AdminMatchesController@restore']);
ModuleRoute::post('admin/matches/search', 'AdminMatchesController@search');
ModuleRoute::post('admin/matches/scores/store', 'AdminMatchScoresController@store');
ModuleRoute::delete('admin/matches/scores/{id}', 'AdminMatchScoresController@destroy');
ModuleRoute::put('admin/matches/scores/{id}', 'AdminMatchScoresController@update');
ModuleRoute::get('matches', ['as' => 'matches.index', 'uses' => 'MatchesController@index']);
ModuleRoute::get('matches/{id}', ['as' => 'matches.show', 'uses' => 'MatchesController@show']);
ModuleRoute::post('matches/search', 'MatchesController@search');
Esempio n. 6
0
<?php

ModuleRoute::context('Events');
ModuleRoute::resource('admin/events', 'AdminEventsController');
ModuleRoute::get('admin/events/{id}/restore', ['as' => 'admin.events.restore', 'uses' => 'AdminEventsController@restore']);
ModuleRoute::post('admin/events/search', 'AdminEventsController@search');
ModuleRoute::resource('events', 'EventsController', ['only' => ['index', 'show']]);
ModuleRoute::get('events/{id}/{slug}', 'EventsController@show');
ModuleRoute::get('calendar/{year?}/{month?}', 'EventsController@calendar');
Esempio n. 7
0
<?php

ModuleRoute::context('Adverts');
ModuleRoute::resource('admin/advertcats', 'AdminAdvertcatsController');
ModuleRoute::get('admin/advertcats/{id}/restore', ['as' => 'admin.advertcats.restore', 'uses' => 'AdminAdvertcatsController@restore']);
ModuleRoute::post('admin/advertcats/search', 'AdminAdvertcatsController@search');
ModuleRoute::resource('admin/adverts', 'AdminAdvertsController');
ModuleRoute::get('admin/adverts/{id}/restore', ['as' => 'admin.adverts.restore', 'uses' => 'AdminAdvertsController@restore']);
ModuleRoute::post('admin/adverts/search', 'AdminAdvertsController@search');
ModuleRoute::resource('adverts', 'AdvertsController', ['only' => ['show']]);
ModuleRoute::get('adverts/{id}/{slug}', 'AdvertsController@show');
Esempio n. 8
0
<?php

ModuleRoute::context('Videos');
ModuleRoute::resource('admin/videos', 'AdminVideosController');
ModuleRoute::get('admin/videos/{id}/restore', ['as' => 'admin.videos.restore', 'uses' => 'AdminVideosController@restore']);
ModuleRoute::post('admin/videos/search', 'AdminVideosController@search');
ModuleRoute::resource('videos', 'VideosController', ['only' => ['index', 'show']]);
ModuleRoute::get('videos/{id}/{slug}', 'VideosController@show');
ModuleRoute::post('videos/search', 'VideosController@search');
Esempio n. 9
0
<?php

ModuleRoute::context('Messages');
Route::group(array('middleware' => 'auth'), function () {
    ModuleRoute::get('messages/{id}/{slug?}', 'MessagesController@show')->where('id', '[0-9]+');
    ModuleRoute::get('messages/create/{username?}', 'MessagesController@create');
    ModuleRoute::get('messages/reply/{id}/{slug?}', 'MessagesController@reply')->where('id', '[0-9]+');
    ModuleRoute::post('messages', 'MessagesController@store');
    ModuleRoute::delete('messages/{id}', 'MessagesController@destroy');
    ModuleRoute::resource('messages/inbox', 'InboxController', ['only' => ['index']]);
    ModuleRoute::post('messages/inbox/search', 'InboxController@search');
    ModuleRoute::resource('messages/outbox', 'OutboxController', ['only' => ['index']]);
    ModuleRoute::post('messages/outbox/search', 'OutboxController@search');
});
Esempio n. 10
0
<?php

ModuleRoute::context('Teams');
ModuleRoute::resource('admin/teams', 'AdminTeamsController');
ModuleRoute::get('admin/teams/{id}/restore', ['as' => 'admin.teams.restore', 'uses' => 'AdminTeamsController@restore']);
ModuleRoute::get('admin/teams/{id}/lineup', 'AdminTeamsController@lineup');
ModuleRoute::post('admin/teams/search', 'AdminTeamsController@search');
ModuleRoute::resource('teams', 'TeamsController', ['only' => ['index', 'show']]);
ModuleRoute::get('teams/{id}/{slug}', 'TeamsController@show');
ModuleRoute::controller('admin/members', 'AdminMembersController');
ModuleRoute::post('admin/members/search', 'AdminMembersController@search');
Esempio n. 11
0
ModuleRoute::put('admin/forums/config', 'AdminConfigController@update');
ModuleRoute::resource('admin/forums', 'AdminForumsController');
ModuleRoute::get('admin/forums/{id}/restore', ['as' => 'admin.forums.restore', 'uses' => 'AdminForumsController@restore']);
ModuleRoute::post('admin/forums/search', 'AdminForumsController@search');
ModuleRoute::get('forums', 'ForumsController@index');
ModuleRoute::get('forums/{id}/{slug?}', 'ForumsController@show')->where('id', '[0-9]+');
ModuleRoute::get('forums/threads/{id}/{slug?}', 'ThreadsController@show')->where('id', '[0-9]+');
ModuleRoute::get('forums/threads/new', 'ThreadsController@showNew');
Route::group(array('middleware' => 'auth'), function () {
    ModuleRoute::get('forums/threads/create/{id}', 'ThreadsController@create');
    ModuleRoute::post('forums/threads/{id}', 'ThreadsController@store');
    ModuleRoute::get('forums/threads/edit/{id}', 'ThreadsController@edit');
    ModuleRoute::put('forums/threads/{id}', 'ThreadsController@update');
    ModuleRoute::get('forums/threads/sticky/{id}', 'ThreadsController@sticky');
    ModuleRoute::get('forums/threads/closed/{id}', 'ThreadsController@closed');
    ModuleRoute::get('forums/threads/move/{id}', 'ThreadsController@getMove');
    ModuleRoute::post('forums/threads/move/{id}', 'ThreadsController@postMove');
    ModuleRoute::get('forums/threads/delete/{id}', 'ThreadsController@delete');
});
ModuleRoute::post('forums/search', 'ThreadsController@search');
ModuleRoute::get('forums/posts/perma/{id}/{slug?}', 'PostsController@show');
Route::group(array('middleware' => 'auth'), function () {
    ModuleRoute::get('forums/posts/{id}', 'PostsController@get');
    ModuleRoute::get('forums/posts/delete/{id}', 'PostsController@delete');
    ModuleRoute::post('forums/posts/{id}', 'PostsController@store');
    ModuleRoute::get('forums/posts/edit/{id}', 'PostsController@edit');
    ModuleRoute::get('forums/posts/report/{id}', 'PostsController@report');
    ModuleRoute::put('forums/posts/{id}', 'PostsController@update');
});
ModuleRoute::get('admin/forum-reports', ['as' => 'admin.reports.index', 'uses' => 'AdminReportsController@index']);
ModuleRoute::delete('admin/forum-reports/{id}', ['as' => 'admin.reports.destroy', 'uses' => 'AdminReportsController@destroy']);
Esempio n. 12
0
<?php

ModuleRoute::context('Users');
ModuleRoute::get('users/{id}/password', 'UsersController@editPassword');
ModuleRoute::put('users/{id}/password', 'UsersController@updatePassword');
ModuleRoute::resource('users', 'UsersController', ['only' => ['index', 'show', 'edit', 'update']]);
ModuleRoute::get('users/{id}/{slug}', 'UsersController@show');
ModuleRoute::post('users/search', 'UsersController@search');
ModuleRoute::resource('admin/users', 'AdminUsersController', ['only' => ['index', 'edit', 'update']]);
ModuleRoute::post('admin/users/search', 'AdminUsersController@search');
ModuleRoute::post('admin/users/{id}/{ban}', 'AdminUsersController@ban');
ModuleRoute::get('admin/activities', 'AdminActivitiesController@index');
ModuleRoute::get('admin/activities/delete/all', 'AdminActivitiesController@deleteAll');
ModuleRoute::post('admin/activities/search', 'AdminActivitiesController@search');
Esempio n. 13
0
<?php

ModuleRoute::context('Images');
ModuleRoute::resource('admin/images', 'AdminImagesController');
ModuleRoute::post('admin/images/search', 'AdminImagesController@search');
ModuleRoute::get('editor-images', 'EditorImagesController@index');
ModuleRoute::post('editor-images', 'EditorImagesController@search');
Esempio n. 14
0
<?php

ModuleRoute::context('Modules');
ModuleRoute::resource('admin/modules', 'AdminModulesController');
ModuleRoute::post('admin/modules/search', 'AdminModulesController@search');
ModuleRoute::match(['GET', 'POST'], 'admin/modules/{name}/install/{step?}', ['as' => 'modules.install', 'uses' => 'AdminModulesController@install'])->where('step', '[0-9]+');
Esempio n. 15
0
<?php

ModuleRoute::context('Opponents');
ModuleRoute::resource('admin/opponents', 'AdminOpponentsController');
ModuleRoute::get('admin/opponents/{id}/restore', ['as' => 'admin.opponents.restore', 'uses' => 'AdminOpponentsController@restore']);
ModuleRoute::get('admin/opponents/{id}/lineup', 'AdminOpponentsController@lineup');
ModuleRoute::post('admin/opponents/search', 'AdminOpponentsController@search');
Esempio n. 16
0
<?php

ModuleRoute::context('Downloads');
ModuleRoute::resource('admin/downloadcats', 'AdminDownloadcatsController');
ModuleRoute::get('admin/downloadcats/{id}/restore', ['as' => 'admin.downloadcats.restore', 'uses' => 'AdminDownloadcatsController@restore']);
ModuleRoute::post('admin/downloadcats/search', 'AdminDownloadcatsController@search');
ModuleRoute::resource('admin/downloads', 'AdminDownloadsController');
ModuleRoute::get('admin/downloads/{id}/restore', ['as' => 'admin.downloads.restore', 'uses' => 'AdminDownloadsController@restore']);
ModuleRoute::post('admin/downloads/search', 'AdminDownloadsController@search');
ModuleRoute::resource('downloads', 'DownloadsController', ['only' => ['index', 'show']]);
ModuleRoute::get('downloads/category/{id}/{slug}', 'DownloadsController@showCategory');
ModuleRoute::get('downloads/{id}/{slug}', 'DownloadsController@show');
ModuleRoute::post('downloads/perform/{id}', 'DownloadsController@perform');
ModuleRoute::post('downloads/search', 'DownloadsController@search');
Esempio n. 17
0
<?php

ModuleRoute::context('News');
ModuleRoute::resource('admin/newscats', 'AdminNewscatsController');
ModuleRoute::get('admin/newscats/{id}/restore', ['as' => 'admin.newscats.restore', 'uses' => 'AdminNewscatsController@restore']);
ModuleRoute::post('admin/newscats/search', 'AdminNewscatsController@search');
ModuleRoute::resource('admin/news', 'AdminNewsController');
ModuleRoute::get('admin/news/{id}/restore', ['as' => 'admin.news.restore', 'uses' => 'AdminNewsController@restore']);
ModuleRoute::post('admin/news/search', 'AdminNewsController@search');
ModuleRoute::get('news', 'NewsController@index');
ModuleRoute::get('news/{id}/{slug?}', ['as' => 'news.show', 'uses' => 'NewsController@show'])->where('id', '[0-9]+');
ModuleRoute::get('news/{slug}', 'NewsController@showBySlug');
ModuleRoute::post('news/search', 'NewsController@search');
Esempio n. 18
0
<?php

ModuleRoute::context('Tournaments');
ModuleRoute::resource('admin/tournaments', 'AdminTournamentsController');
ModuleRoute::get('admin/tournaments/{id}/restore', ['as' => 'admin.tournaments.restore', 'uses' => 'AdminTournamentsController@restore']);
ModuleRoute::post('admin/tournaments/search', 'AdminTournamentsController@search');
Esempio n. 19
0
<?php

ModuleRoute::context('Partners');
ModuleRoute::resource('admin/partnercats', 'AdminPartnercatsController');
ModuleRoute::get('admin/partnercats/{id}/restore', ['as' => 'admin.partnercats.restore', 'uses' => 'AdminPartnercatsController@restore']);
ModuleRoute::post('admin/partnercats/search', 'AdminPartnercatsController@search');
ModuleRoute::resource('admin/partners', 'AdminPartnersController');
ModuleRoute::get('admin/partners/{id}/restore', ['as' => 'admin.partners.restore', 'uses' => 'AdminPartnersController@restore']);
ModuleRoute::post('admin/partners/search', 'AdminPartnersController@search');
ModuleRoute::resource('partners', 'PartnersController', ['only' => ['index']]);
ModuleRoute::get('partners/url/{id}/{slug?}', 'PartnersController@url');
Esempio n. 20
0
<?php

ModuleRoute::context('Pages');
ModuleRoute::resource('admin/pages', 'AdminPagesController');
ModuleRoute::get('admin/pages/{id}/restore', ['as' => 'admin.pages.restore', 'uses' => 'AdminPagesController@restore']);
ModuleRoute::post('admin/pages/search', 'AdminPagesController@search');
ModuleRoute::get('pages/{id}/{slug?}', ['as' => 'pages.show', 'uses' => 'CustomPagesController@show'])->where('id', '[0-9]+');
ModuleRoute::get('pages/{slug}', ['as' => 'pages.showSlug', 'uses' => 'CustomPagesController@showBySlug']);
ModuleRoute::get('impressum', ['as' => 'pages.showImpressum', 'uses' => 'CustomPagesController@showImpressum']);
ModuleRoute::get('articles', 'ArticlesController@index');
ModuleRoute::get('articles/{id}', ['as' => 'articles.show', 'uses' => 'ArticlesController@show']);
ModuleRoute::get('articles/{id}/{slug}', 'ArticlesController@show');
ModuleRoute::get('editor-templates/{id}', 'EditorTemplatesController@show');
ModuleRoute::get('editor-templates', 'EditorTemplatesController@index');
Esempio n. 21
0
<?php

ModuleRoute::context('Contact');
ModuleRoute::resource('admin/contact', 'AdminContactController', ['only' => ['index', 'show', 'destroy']]);
ModuleRoute::get('admin/contact/{id}/restore', ['as' => 'admin.contact.restore', 'uses' => 'AdminContactController@restore']);
ModuleRoute::get('contact', 'ContactController@index');
ModuleRoute::post('contact/store', 'ContactController@store');
ModuleRoute::get('join-us', 'JoinController@index');
ModuleRoute::post('join-us/store', 'JoinController@store');
Esempio n. 22
0
<?php

ModuleRoute::context('Streams');
ModuleRoute::resource('admin/streams', 'AdminStreamsController');
ModuleRoute::get('admin/streams/{id}/restore', ['as' => 'admin.streams.restore', 'uses' => 'AdminStreamsController@restore']);
ModuleRoute::post('admin/streams/search', 'AdminStreamsController@search');
ModuleRoute::resource('streams', 'StreamsController', ['only' => ['index', 'show']]);
ModuleRoute::get('streams/{id}/{slug}', 'StreamsController@show');
Esempio n. 23
0
<?php

ModuleRoute::context('Groups');
ModuleRoute::resource('admin/groups', 'AdminGroupsController');
ModuleRoute::post('admin/groups/search', 'AdminGroupsController@search');
Esempio n. 24
0
<?php

ModuleRoute::context('Navigations');
ModuleRoute::resource('admin/navigations', 'AdminNavigationsController');
ModuleRoute::get('admin/navigations/{id}/restore', ['as' => 'admin.navigations.restore', 'uses' => 'AdminNavigationsController@restore']);
ModuleRoute::post('admin/navigations/search', 'AdminNavigationsController@search');
Esempio n. 25
0
<?php

ModuleRoute::context('Awards');
ModuleRoute::resource('admin/awards', 'AdminAwardsController');
ModuleRoute::get('admin/awards/{id}/restore', ['as' => 'admin.awards.restore', 'uses' => 'AdminAwardsController@restore']);
ModuleRoute::post('admin/awards/search', 'AdminAwardsController@search');
ModuleRoute::resource('awards', 'AwardsController', ['only' => ['index']]);
ModuleRoute::post('awards/search', 'AwardsController@search');
Esempio n. 26
0
<?php

ModuleRoute::context('Users');
ModuleRoute::get('users/{id}/password', 'UsersController@editPassword');
ModuleRoute::put('users/{id}/password', 'UsersController@updatePassword');
ModuleRoute::resource('users', 'UsersController', ['only' => ['index', 'show', 'edit', 'update']]);
ModuleRoute::get('users/{id}/{slug}', 'UsersController@show');
ModuleRoute::post('users/search', 'UsersController@search');
ModuleRoute::resource('admin/users', 'AdminUsersController', ['only' => ['index', 'edit', 'update']]);
ModuleRoute::post('admin/users/search', 'AdminUsersController@search');
ModuleRoute::post('admin/users/{id}/{ban}', 'AdminUsersController@ban');
Esempio n. 27
0
<?php

ModuleRoute::context('Maps');
ModuleRoute::resource('admin/maps', 'AdminMapsController');
ModuleRoute::get('admin/maps/{id}/restore', ['as' => 'admin.maps.restore', 'uses' => 'AdminMapsController@restore']);
ModuleRoute::post('admin/maps/search', 'AdminMapsController@search');