Im trying to do
def keep_book_photos
flash.keep(:book_photos)
end
as a before_filter for my controller, however, the
"flash.keep(:book_photos)" makes the browser render nothing, just a
blank screen. I tried before_filter and prepend_before_filter.
I know I can just put it in every method call but I wish there was an
easier way.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---