Is it possible to use link_to and specify a :host WHILE using a polymorphic URL?
I wanted to do this <%= link_to item.name, item, :host => "www.items.com", :only_path => false rescue "" %> and ended up having to do this <%= link_to item.name, url_for(:controller => 'item', :action => 'show', :id => item.id, :host => "www.items.com", :only_path => false) rescue "" %> No easier way? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

