Ticket #415 (closed Bug: fixed)
Config::set routes
| Reported by: | stach | Owned by: | Geert |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.2 |
| Component: | Core | Version: | SVN HEAD |
| Keywords: | config set routes regex | Cc: |
Description
My sugestion is use one dot (first one), because I think that every next dots will make somethink like below:
Config::set('routes.news[\d]/(.+)', "news/$2");
and effect:
array
'_allowed' => string '-a-z 0-9~%.,:_' (length=14)
'_default' => string 'front' (length=5)
'news[\d]/(' =>
array
'+)' => string 'news/$2' (length=7)
Change History
Note: See
TracTickets for help on using
tickets.
