search for: custom_host

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

2009 Jan 18
3
ActionMailer and url_for in helper methods
...;m using in the email. Can somebody help me? Thanks! Conrad ---- Here''s an excerpt of my code: class UserNotifier < ActionMailer::Base helper :application # Emails the user the recent changes on the wiki def changes(user, page) ... default_url_options[:host] = user.custom_host @body => {"page" => page} ... end end views/user_notifer/changes.rhtml: <%= breadcrumbs(@page) %> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Gro...