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

plugin does honor the :only_path notion of routing when doing so goes against the intent of the command #20

Open
ghazel opened this issue May 5, 2011 · 0 comments

Comments

@ghazel
Copy link

ghazel commented May 5, 2011

Contrary to the documentation, subdomain-fu does honor the :only_path notion of routing.

>>> p [current_subdomain, current_domain, front_path(:subdomain => false)]
["foo", "testing.com:3000", "/"]

and:

>>> p [current_subdomain, current_domain, front_path(:subdomain => 'foo')]
[nil, "testing.com:3000", "/"]

The _url forms work as expected.

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