mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Add ForumController and routes
This commit is contained in:
+4
-12
@@ -103,21 +103,13 @@ Route::get('/xxx', function () {
|
||||
Route::get('contact-us', 'ContactUsController@showContactForm');
|
||||
Route::post('contact-us', 'ContactUsController@contact');
|
||||
|
||||
Route::get('/forum', function () {
|
||||
redirect('/forum');
|
||||
})->middleware('auth');
|
||||
Route::get('forum', 'ForumController@forum');
|
||||
|
||||
Route::post('/forum', function () {
|
||||
redirect('/forum');
|
||||
})->middleware('auth');
|
||||
Route::post('forum', 'ForumController@forum');
|
||||
|
||||
Route::get('/forumpost/{id}', function () {
|
||||
redirect('/forumpost');
|
||||
})->middleware('auth');
|
||||
Route::get('forumpost/{id}', 'ForumController@getPosts');
|
||||
|
||||
Route::post('/forumpost/{id}', function () {
|
||||
redirect('/forumpost');
|
||||
})->middleware('auth');
|
||||
Route::post('forumpost/{id}', 'ForumController@getPosts');
|
||||
|
||||
Route::get('/profileedit', function () {
|
||||
redirect('/profileedit');
|
||||
|
||||
Reference in New Issue
Block a user