Displaying 1 result from an estimated 1 matches for "user_notifer".
Did you mean:
user_notifier
2009 Jan 18
3
ActionMailer and url_for in helper methods
...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 Groups "Ruby on Rails: Talk" group.
To post to this group, send email to ruby...