scopes and other files

This commit is contained in:
2018-11-18 21:00:37 -06:00
parent 9a635faa4c
commit 4dbb1e3bb0
11 changed files with 84 additions and 11 deletions

View File

@@ -21,7 +21,11 @@ class EsiScopeController extends Controller
}
public function displayScopes() {
return view('scopes.select');
//Get the ESI Scopes for the user
$scopes = DB::table('EsiScopes')->where('character_id', Auth::user()->character_id)->get();
//We want to send the scopes to the page as pre-checked.
dd($scopes);
return view('scopes.select')->with('scopes', $scopes);
}
public function redirectToProvider(Request $request) {