Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10748 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

[PATCH] ActionController::UrlRewriter module should respect relative_url_root

Reported by: chuyeow Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords:
Cc:

Description

Respect the ActionController::AbstractRequest.relative_url_root, if set, when including the ActionController::UrlRewriter module and generating URLs.

Docs updated and has tests.

I realize there's some duplication between the UrlRewriter module and the class (of the same name) but I really want to see this fixed first before tackling the duplication problem.

Attachments

url_rewriter_mod_should_respect_relative_url_root.diff (7.9 kB) - added by chuyeow on 01/09/08 10:03:58.

Change History

01/09/08 10:03:58 changed by chuyeow

  • attachment url_rewriter_mod_should_respect_relative_url_root.diff added.

01/10/08 02:51:12 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [8616]) UrlWriter respects relative_url_root. Closes #10748.

01/10/08 02:53:36 changed by bitsweat

(In [8618]) Merge [8616] to stable: UrlWriter respects relative_url_root. References #10748.