rfw21
unread,Mar 24, 2009, 3:56:51 AM3/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to resource_controller
Hello list,
I am trying to set the flash in my r_c controllers but whatever I try,
it's not showing up on the rendered page.
As an example I am using:
update do
flash "You've been updated"
end
I've also tried
update do
wants.html do
flash "this doesn't work either"
end
end
Even setting flash[:notice] directly still doesn't work. When the page
is rendered, the flash hash just contains an empty string for
the :notice key.
Has anybody else experienced this problem?
best,
Rob