Skip to content

Commit

Permalink
fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed May 25, 2024
1 parent fa2bdba commit 4db37ce
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 deletions.
32 changes: 32 additions & 0 deletions app/Http/Controllers/Auth/ForgotPasswordController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

namespace Gameap\Http\Controllers\Auth;

use Gameap\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;

class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset emails and
| includes a trait which assists in sending these notifications from
| your application to your users. Feel free to explore this trait.
|
*/

use SendsPasswordResetEmails;

/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ services:
ADMIN_PASSWORD: fpwPOuZD
DAEMON_SETUP_TOKEN: test_auto_setup_token
APP_KEY: eefeiQuaeti0Eeshoh7Efei1paizee1i
APP_LANG: ru
APP_DEBUG: true
links:
- mysql:db
Expand Down
5 changes: 4 additions & 1 deletion resources/assets/js/views/adminviews/AdminNodesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ const createColumns = () => {
},
{
title: trans('dedicated_servers.ip'),
key: "ip"
key: "ip",
render(row) {
return _.join(row.ip, ', ')
}
},
{
title: trans('dedicated_servers.os'),
Expand Down
6 changes: 3 additions & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
});

Route::group(['prefix' => 'admin', 'middleware' => 'isAdmin'], function () {
Route::resource('client_certificates', EmptyController::class, ['as' => 'admin', 'except' => ['edit']]);
Route::resource('client_certificates', "EmptyController", ['as' => 'admin', 'except' => ['edit']]);
Route::name('admin.dedicated_servers.download_logs')
->get(
'dedicated_servers/{dedicated_server}/logs.zip',
Expand All @@ -63,9 +63,9 @@
'users/{user}/servers/{server}/edit',
[EmptyController::class, 'updatePermissions'],
);
Route::resource('users', EmptyController::class, ['as' => 'admin']);
Route::resource('users', "EmptyController", ['as' => 'admin']);

Route::resource('game_mods', EmptyController::class, ['as' => 'admin']);
Route::resource('game_mods', "EmptyController", ['as' => 'admin']);
Route::name('admin.game_mods.create')->get('game_mods/create/{game?}', [EmptyController::class, 'create']);

Route::name('admin.gdaemon_tasks.index')->get('gdaemon_tasks', [EmptyController::class, 'index']);
Expand Down

0 comments on commit 4db37ce

Please sign in to comment.