Displaying 1 result from an estimated 1 matches for "simple_notification".
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
...*inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet. Here is an example stub
method that I am using the partial in:
def simple_notification(event_data, partial_name)
send_as :notification
from event_data[:user]
recipients event_data[:target_uids]
fbml render(:partial => "event/notification/" + partial_name,
:event => event_data[:event])
end
Note, _path() and _url() helpers work flawlessly from the
sim...