diff --git a/app/Http/Controllers/Tests/TestController.php b/app/Http/Controllers/Tests/TestController.php new file mode 100644 index 000000000..1525e682b --- /dev/null +++ b/app/Http/Controllers/Tests/TestController.php @@ -0,0 +1,23 @@ +GetCharacterInfo(auth()->user()->getId()); + + return view('test.char.display')->with('char', $char); + } + + public function CharacterLookupTest(Request $request) { + + } +} diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 9cbd31969..93376887a 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -150,8 +150,6 @@ class LookupHelper { //Check our own database first $char = $this->LookupCharacter($charId, null); - - //if the character was not found in the database, then get the information and store it in our database for later if($char == null) { try { diff --git a/resources/views/test/char/display.blade.php b/resources/views/test/char/display.blade.php new file mode 100644 index 000000000..318ee251d --- /dev/null +++ b/resources/views/test/char/display.blade.php @@ -0,0 +1,4 @@ +@extends('layouts.b4') +@section('content') +{{ var_dump($char) }} +@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 643d2e278..377b5a316 100644 --- a/routes/web.php +++ b/routes/web.php @@ -153,6 +153,11 @@ Route::group(['middleware' => ['auth']], function(){ Route::post('/srp/admin/costcodes/modify', 'SRP\SRPAdminController@modifyCostCodes'); Route::get('/srp/admin/display/history', 'SRP\SRPAdminController@displayHistory'); + /** + * Test Controller display pages + */ + Route::get('/test/char/display', 'Test\TestController@displayCharTest'); + /** * Wiki Controller display pages */