(:any) Route Placeholder Not Working? |
Documentation states that the (:any) placeholder should return the remainder of the URI string, but in my implementation, I only ever get the next segment. Everything after the proceeding / is truncated. Am I doing something wrong?
Routes.php -Route Definitions Code: $routes->get('auth/', 'Auth::index',['namespace' => 'IonAuth\Controllers']); Pages->View() Code: public function view($slug = null) If I enter a url like http://www.example.com/docs/tutorial I would expect $slug to be "docs/tutorial" Instead all I get is "docs"; Am I setting something up incorrectly? Thanks! |
Messages In This Thread |
(:any) Route Placeholder Not Working? - by MinimumViableProgrammer - 03-19-2020, 12:10 PM
RE: (:any) Route Placeholder Not Working? - by jreklund - 03-19-2020, 12:43 PM
RE: (:any) Route Placeholder Not Working? - by jreklund - 03-19-2020, 01:03 PM
RE: (:any) Route Placeholder Not Working? - by MinimumViableProgrammer - 03-19-2020, 01:20 PM
RE: (:any) Route Placeholder Not Working? - by jreklund - 03-19-2020, 01:43 PM
RE: (:any) Route Placeholder Not Working? - by simonickalexs - 06-03-2020, 11:35 AM
RE: (:any) Route Placeholder Not Working? - by InsiteFX - 06-04-2020, 03:22 AM
|