reworked all of the controllers to use . for views and / for redirects
This commit is contained in:
@@ -35,7 +35,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) {
|
||||
@@ -59,7 +59,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() {
|
||||
@@ -88,7 +88,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) {
|
||||
@@ -118,6 +118,6 @@ class StructureController extends Controller
|
||||
];
|
||||
}
|
||||
|
||||
return view('structures/user/taxhistory')->with(compact('totalTaxes', 'months'));
|
||||
return view('structures.user.taxhistory')->with(compact('totalTaxes', 'months'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user