Welcome Guest, Not a member yet? Register   Sign In
Routing with variables
#2

(This post was last modified: 11-18-2021, 01:28 AM by captain-sensible. Edit Reason: characters without [code] giving me an emjoi )

try with '/admin/reports/stores/(:num)'




whats your class structure ?

For a Class Admin which has a method stores it would just be :
Code:
'Admin::stores/$1'
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply


Messages In This Thread
Routing with variables - by chakycool - 11-18-2021, 01:17 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 01:27 AM
RE: Routing with variables - by seunex - 11-18-2021, 01:27 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 01:31 AM
RE: Routing with variables - by chakycool - 11-18-2021, 02:04 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 02:32 AM
RE: Routing with variables - by chakycool - 11-18-2021, 02:46 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 03:07 AM
RE: Routing with variables - by chakycool - 11-18-2021, 03:36 AM
RE: Routing with variables - by InsiteFX - 11-18-2021, 03:51 AM
RE: Routing with variables - by chakycool - 11-18-2021, 03:58 AM
RE: Routing with variables - by captain-sensible - 11-18-2021, 08:11 AM
RE: Routing with variables - by chakycool - 11-21-2021, 01:47 AM
RE: Routing with variables - by iRedds - 11-23-2021, 10:10 PM
RE: Routing with variables - by chakycool - 11-24-2021, 04:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB