rails: named_url and url_for: subdomain => false doesn't work

Trying to use it as

= link_to "Me", user_url(@current_user.id, :subdomain => false)

In rails 3.1rc4

Apparently it has never worked.

About this issue

  • Original URL
  • State: closed
  • Created 13 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

+1 for @ksob commit.

For now it looks like you can get rid of subdomains with:

root_url(:host => request.domain)