Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
October CMS routing file in plugins

I have a

routes.php

file in my plugin directory that has lots of routing rules for example a part of it is:

# global routes for buy and sell
  Route::post('loadgroups/','Imis\Accounting\Controllers\SaleFactors@loadGroups');
  Route::post('loadproducts/','Imis\Accounting\Controllers\SaleFactors@loadProducts');
  Route::post('mobile/','Imis\Accounting\Controllers\SaleFactors@mobile');
  Route::post('cashcredit/','Imis\Accounting\Controllers\SaleFactors@calcCashCredit');

my problem is that all the routes working correctly except the last one which throws

404 not found

is there any idea about this problem and how to solve it!? Thank you.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you definitely have the Controller method defined then the only thing I can think of is that may be you are POSTing somewhere else. A typo may be!? You might want to look at your form (or however you are making that POST request) to make sure you're hitting the right route. Looking hard at the StackTrace might also be helpful.

For added measure, you might clear the cache: php artisan cache:clear

Hopefully, you find a fix. Good luck!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!