Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL generator doesn't use baseUri when using route name #331

Closed
darkartur opened this issue Jan 16, 2013 · 1 comment
Closed

URL generator doesn't use baseUri when using route name #331

darkartur opened this issue Jan 16, 2013 · 1 comment
Milestone

Comments

@darkartur
Copy link

For example when I have this settings:

$di->get('url')->setBaseUri('/hello');
$di->get('rotuing')->add( '/{name}', 'index::hello' )->setName( 'hello' );

And then I try to use URL generator:

$url->get(array('for' => 'hello','name' => 'World'));

I have '/world' instead of expecting '/hello/world'. Why it doesn't work the same as $url->get('/world');?

@phalcon
Copy link
Collaborator

phalcon commented Jan 21, 2013

Thanks, this is now fixed in 0.9.0

@phalcon phalcon closed this as completed Jan 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant