Log message #4156833

# At Username Text
# Jul 7th 2018, 20:03 itmpls if I removed $routes->fallbacks(DashedRoute::class); yes
# Jul 7th 2018, 20:03 saeideng it worked ?
# Jul 7th 2018, 20:03 itmpls maybe with that cakephp issue recommendation of SubdomainRouter..
# Jul 7th 2018, 20:03 itmpls subdomain fallback, and then regular domain DashedRoute::class
# Jul 7th 2018, 20:02 itmpls is there anyway to combine? or prioritize?
# Jul 7th 2018, 20:02 saeideng remove
# Jul 7th 2018, 20:01 itmpls thats why
# Jul 7th 2018, 20:01 itmpls ugh, I had $routes->fallbacks(DashedRoute::class); before
# Jul 7th 2018, 20:00 itmpls ok ill check.. ty
# Jul 7th 2018, 20:00 saeideng see marched route in debug_kit
# Jul 7th 2018, 19:59 saeideng I am not in back of your system
# Jul 7th 2018, 19:58 itmpls or maybe I incorrectly tested
# Jul 7th 2018, 19:58 itmpls then how come in subdomain.blah.domain.com/ it goes to dd('parse'); in SubdomainRoute but not in /foo ?
# Jul 7th 2018, 19:58 saeideng for all controller/action syntax
# Jul 7th 2018, 19:58 itmpls ok
# Jul 7th 2018, 19:57 saeideng cake fallbacks is globally
# Jul 7th 2018, 19:57 itmpls thats why im using it, but i dont want to limit to just '/'
# Jul 7th 2018, 19:57 itmpls i saw fallbacks, but doesnt it apply globally?
# Jul 7th 2018, 19:57 saeideng cake uses `/:controller/:action, ........` in fallbacks
# Jul 7th 2018, 19:56 itmpls i guess maybe i use setDefaultRoute?
# Jul 7th 2018, 19:56 saeideng see cake's default fallbacks
# Jul 7th 2018, 19:55 saeideng how cake can detect your mean ?
# Jul 7th 2018, 19:55 itmpls well.. i mean i want it global. not just /foo, but /bar, /baz, etc
# Jul 7th 2018, 19:55 saeideng are you have `SubdomainRoute` class ?
# Jul 7th 2018, 19:54 saeideng ^^ first check with this
# Jul 7th 2018, 19:54 saeideng ``` Router::scope('/', function($routes) { $routes->connect('/foo`,........); $routes->fallbacks('SubdomainRoute'); }); ```
# Jul 7th 2018, 19:54 itmpls https://github.com/cakephp/cakephp/issues/11689 ?
# Jul 7th 2018, 19:53 itmpls how can I make it reach/apply SubdomainRoute in /foo and anywhere, though? where there's a subdomain
# Jul 7th 2018, 19:52 saeideng check `SubdomainRoute`
# Jul 7th 2018, 19:52 saeideng this is your code
# Jul 7th 2018, 19:52 saeideng ``` Router::scope('/', function($routes) { $routes->fallbacks('SubdomainRoute'); }); ```
# Jul 7th 2018, 19:51 saeideng sorry it is `Router::scope('/',`
# Jul 7th 2018, 19:51 itmpls so how can i make it a wildcard then?
# Jul 7th 2018, 19:50 saeideng yes
# Jul 7th 2018, 19:42 itmpls is it because of the leading / ? which is still confusing to me
# Jul 7th 2018, 19:42 itmpls anyone know why with Router::scope('/', function($routes) { $routes->fallbacks('SubdomainRoute'); }); it doesn't reach SubdomainRoute::parse() via subdomain.blah.domain.com/foo but only at subdomain.blah.domain.com/ (home)
# Jul 7th 2018, 19:36 slackebot4 ~ask
# Jul 7th 2018, 19:36 slackebot4 Command sent from Slack by savant:
# Jul 7th 2018, 17:54 itmpls and push to master
# Jul 7th 2018, 17:54 itmpls then make your edits, then commit
# Jul 7th 2018, 17:54 itmpls @joopm - git clone the repo