• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need to help with routes problem.

#1
I need to help with routes problem.

Below is a part of My Config/Routes.php file.

PHP Code:
$routes->setDefaultNamespace('MyTest\Controllers');
$routes->setDefaultController('Home');
$routes->setDefaultMethod('index');
$routes->setTranslateURIDashes(true);
$routes->set404Override('MyTest\Libraries\Errors::show404');
$routes->setAutoRoute(true); 

I need to use TranlateURIDashes. I hope that Router automatically route this.
for example, 'users/login-process' to 'users/login_process'.
but when I connect 'http://mytest/users/login-process', then just I could see 404 page not found error page.

So, Why? I don't understand this part..
Please, help me.

(Sorry, I'm not good at English..)
Reply

#2
PLEASE, let me know your opinion.

Actually I created an issue.
https://github.com/codeigniter4/CodeIgni...ssues/1564

And now, there is a closed PR. Why closed?? (T.T)
https://github.com/codeigniter4/CodeIgniter4/pull/1570
Reply

#3
The author of the PR closed it - you should ask him/her why. My guess is that they tried to address your github issue, and you responded that it didn't help.
Your github issue has a comment suggesting that you solved the problem, yet here you are looking for something more?

Your issue will be addressed, but we don't control the developers' volunteer efforts. There are 32 issues older than yours on github, and you will need to be patient, sorry! If someone in the community comes up with a fix or workaround in the meantime, that would be great Smile
Reply

#4
(12-04-2018, 12:15 PM)ciadmin Wrote: The author of the PR closed it - you should ask him/her why. My guess is that they tried to address your github issue, and you responded that it didn't help.
Your github issue has a comment suggesting that you solved the problem, yet here you are looking for something more?

Your issue will be addressed, but we don't control the developers' volunteer efforts. There are 32 issues older than yours on github, and you will need to be patient, sorry! If someone in the community comes up with a fix or workaround in the meantime, that would be great Smile

Thank you for your advice.
For now, I'll wait for this  problem to be resolved properly.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.