Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

157
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda