route fix
This commit is contained in:
@@ -47,7 +47,6 @@ class RegisterStructureController extends Controller
|
||||
$structure->region = $request->region;
|
||||
$structure->system = $request->system;
|
||||
$structure->structure_name = $request->structure_name;
|
||||
$structure->tax = $tax;
|
||||
$structure->structure_type = $request->structure_type;
|
||||
$structure->save();
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ class CorpStructure extends Model
|
||||
'region',
|
||||
'system',
|
||||
'structure_name',
|
||||
'tax',
|
||||
'structure_type',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ Route::group(['middleware' => ['auth']], function(){
|
||||
|
||||
//Register Structures Controller display pages
|
||||
Route::get('/structures/register', 'RegisterStructureController@displayRegisterstructure');
|
||||
Route::post('/structures/register', 'RegisterstructureController@storeStructure');
|
||||
Route::post('/structures/register', 'RegisterStructureController@storeStructure');
|
||||
|
||||
//Structure Admin Controller display pages
|
||||
Route::get('/structures/admin/dashboard', 'StructureAdminController@displayDashboard');
|
||||
|
||||
Reference in New Issue
Block a user