link_to :controller => 'mycontroller', :action => 'myaction', :host => request.host, :protocol => request.protocol
On Jun 26, 2007, at 3:00 PM, Chris Abad wrote:Yea, if this is actually a controller that inherits from ApplicationController you should be able to do something like this:
link_to :controller => 'mycontroller', :action => 'myaction', :host => (request.protocol + request.host)
If that doesn't work, your issue is probably that those methods aren't available to ActionMailer::Base. I didn't check myself so I'm not sure.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
