replaced . with / for returning views and redirects
This commit is contained in:
@@ -51,6 +51,6 @@ class DashboardController extends Controller
|
||||
'roles' => $roles,
|
||||
];
|
||||
|
||||
return view('dashboard.profile')->with('data', $data);
|
||||
return view('dashboard/profile')->with('data', $data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ class RegisterStructureController extends Controller
|
||||
public function displayRegisterStructure() {
|
||||
//Check to see if the user has the read corp journal esi scope before allowing to register a structure
|
||||
if(Auth()->user()->hasEsiScope('esi-wallet.read_corporation_wallets.v1')) {
|
||||
return view('structures.register.register');
|
||||
return view('structures/register/register');
|
||||
} else {
|
||||
return view('dashboard')->with('error', 'You need to setup your esi scope for read corporation wallets');
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ class StructureAdminController extends Controller
|
||||
}
|
||||
|
||||
public function displayDashboard() {
|
||||
return view('structures.admin.dashboard');
|
||||
return view('structures/admin/dashboard');
|
||||
}
|
||||
|
||||
public function storeTaxRatio(Request $request) {
|
||||
@@ -29,7 +29,7 @@ class StructureAdminController extends Controller
|
||||
$ratio->ratio = $request->ratio;
|
||||
$ratio->save();
|
||||
|
||||
return redirect('structure.admin.dashboard');
|
||||
return redirect('structure/admin/dashboard');
|
||||
}
|
||||
|
||||
public function updateTaxRatio(Request $request) {
|
||||
@@ -46,12 +46,12 @@ class StructureAdminController extends Controller
|
||||
'ratio' => $request->ratio,
|
||||
]);
|
||||
|
||||
return redirect('structure.admin.dashboard')->with('success', 'Tax Ratio updated for structure type: ' . $request->type . ' and corporation: ' . $request->corporation);
|
||||
return redirect('structure/admin/dashboard')->with('success', 'Tax Ratio updated for structure type: ' . $request->type . ' and corporation: ' . $request->corporation);
|
||||
}
|
||||
|
||||
public function displayTaxRatios() {
|
||||
$taxRatios = CorpTaxRation::all();
|
||||
|
||||
return view('structure.admin.taxratios')->with('structures', $structures);
|
||||
return view('structure/admin/taxratios')->with('structures', $structures);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ class StructureController extends Controller
|
||||
}
|
||||
|
||||
//Return the view with the data passed to it
|
||||
return view('structures.user.reprocessingtaxes')->with('taxes', $taxes);
|
||||
return view('structures/user/reprocessingtaxes')->with('taxes', $taxes);
|
||||
}
|
||||
|
||||
public function displayIndustryTaxes() {
|
||||
@@ -85,7 +85,7 @@ class StructureController extends Controller
|
||||
$this->middleware('role:Admin');
|
||||
|
||||
$corps = CorpStructure::pluck('corporation_name', 'corporation_id');
|
||||
return view('structures.admin.choosecorporation')->with('corps', $corps);
|
||||
return view('structures/admin/choosecorporation')->with('corps', $corps);
|
||||
}
|
||||
|
||||
public function displayCorpTaxes(Request $request) {
|
||||
@@ -109,7 +109,7 @@ class StructureController extends Controller
|
||||
}
|
||||
|
||||
//Return the view with the data passed to it
|
||||
return view('structures.admin.choosecorptaxes')->with('totalTaxes', $totalTaxes);
|
||||
return view('structures/admin/choosecorptaxes')->with('totalTaxes', $totalTaxes);
|
||||
}
|
||||
|
||||
public function displayTaxes() {
|
||||
@@ -138,7 +138,7 @@ class StructureController extends Controller
|
||||
];
|
||||
}
|
||||
|
||||
return view('structures.user.taxes')->with('totalTaxes', $totalTaxes);
|
||||
return view('structures/user/taxes')->with('totalTaxes', $totalTaxes);
|
||||
}
|
||||
|
||||
public function displayTaxHistory(Request $request) {
|
||||
@@ -168,6 +168,6 @@ class StructureController extends Controller
|
||||
];
|
||||
}
|
||||
|
||||
return view('structures.user.taxhistory')->with(compact('totalTaxes', 'months'));
|
||||
return view('structures/user/taxhistory')->with(compact('totalTaxes', 'months'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ class WikiController extends Controller
|
||||
return redirect('/dashboard')->with('error', 'Already registered for the wiki!');
|
||||
}
|
||||
|
||||
return view('wiki.user.register')->with('name', $name);
|
||||
return view('wiki/user/register')->with('name', $name);
|
||||
}
|
||||
|
||||
public function storeRegister(Request $request) {
|
||||
@@ -83,7 +83,7 @@ class WikiController extends Controller
|
||||
return redirect('/dashboard')->with('error', 'Login Not Found!');
|
||||
}
|
||||
|
||||
return view('wiki.user.changepassword')->with('name', $name);
|
||||
return view('wiki/user/changepassword')->with('name', $name);
|
||||
}
|
||||
|
||||
public function changePassword(Request $request) {
|
||||
@@ -117,7 +117,7 @@ class WikiController extends Controller
|
||||
* Displays the page to add a user to a certain group
|
||||
*/
|
||||
public function displayAddUserToGroup() {
|
||||
return view('wiki.displayaddug');
|
||||
return view('wiki/displayaddug');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user