How can I use 2 controllers in 1 route?
The goal here is to create multiple pages with 1 career each (e.g: Accountants) then link them to a school providing an Accounting course.
An example page would consist of:
1. Accountants career information (I'm using a "career" controller here)
2. Schools providing Accounting courses (I'm using a separate "schools" controller here).
Route::get('/accountants-career', 'CareerController@accountants');
Route::get('/accountants-career', 'SchoolsController@kaplan');
Using the code above will overwrite 1 of the controllers.
Is there a solution to solve this?
See Question&Answers more detail:os