search for: other_app_control

Displaying 1 result from an estimated 1 matches for "other_app_control".

2006 Jun 22
2
[PLUGIN] url_for_with_prefix - allowing you to modify/remove prefixes easily
...nvironment.rb file you''ve got ActionController::AbstractRequest.relative_url_root = "/super" Any time you use link_to, it will prepend /super to the link. This can be a pain if you want to link to other applications: link_to "My Other App", :controller => "other_app_controller" # => "http://mysite/super/other_app_controller" You''d like to be able to set a different prefix, or take it out altogether. With this plugin, you can do that: link_to "My Other App", :controller => "other_app_controller", :prefix => nil #...