Bug Report #4223
Use non-conflicting routes for media and api
| Status: | Closed | Start date: | 08/23/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | Kohana v3.x - v3.3.0 | |||
| Resolution: | fixed | Points: | 1 |
Description
I currently can't document my media module because I want the uri to be guide/media and that is taken by the media controller. This is easily fixed by making the API and media routes use guide-media(/<file>) and guide-api(/<class>). This ensures that these two routes can never interfere with any guide page generated by modules.
This can probably be done in a minor version because if everyone is using reverse routing, the API won't actually change. Just the URLs.
Associated revisions
moving api and media routes so they do not conflict with any possible module names (fixes #4223)
History
Updated by Lorenzo Pisani 9 months ago
- Assignee set to Lorenzo Pisani
- Target version changed from v3.2.1 to v3.3.0
In the end, I have to do this in 3.3.0 so that anyone linking to 3.2.x API docs or media doesn't get broken links.
Updated by Jeremy Bush 5 months ago
- Target version changed from v3.3.0 to Unscheduled
Updated by Lorenzo Pisani 3 months ago
- Status changed from New to Assigned
- Target version changed from Unscheduled to v3.3.0
Taking care of this now
Updated by Lorenzo Pisani 3 months ago
- Status changed from Assigned to Closed
- Resolution set to fixed
Updated by Lorenzo Pisani 3 months ago
- % Done changed from 0 to 100