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_for unexpected behaviour #28

Open
the-teacher opened this issue Aug 29, 2012 · 1 comment
Open

url_for unexpected behaviour #28

the-teacher opened this issue Aug 29, 2012 · 1 comment
Assignees

Comments

@the-teacher
Copy link

This behavior by default

url_for(controller: :payment, action: :error, subdomain: :secure) => /payment_error

And I get expected result when add option only_path: false

url_for(controller: :payment, action: :error, subdomain: :secure, only_path: false) => http://secure.my.office/payment_error

It's a bug?

@pboling
Copy link
Collaborator

pboling commented Aug 29, 2012

Yes, that sounds like a bug. Thanks for the report!

@ghost ghost assigned pboling Aug 29, 2012
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

2 participants