reworked all of the controllers to use . for views and / for redirects

This commit is contained in:
2019-04-27 20:56:01 -05:00
parent 5564b09c3b
commit d45e8f8606
7 changed files with 20 additions and 20 deletions

View File

@@ -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'));
}
}