#52 ✓invalid
Gustavo Di Pietro

Expose current_request()

Reported by Gustavo Di Pietro | April 4th, 2011 @ 07:57 AM

It would be useful to have a globally accesible function or variable that returns what the currently requested route is.

Example:

dispatch('/', 'home');
dispatch('blog', 'blog');

within configure() or before() or after() I cannot know if the request is going to be 'home' or 'blog'.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Limonade is a PHP micro-framework.

People watching this ticket

Pages