Forum: Ruby on Rails flash.keep in before_filter rendering a blank page

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric G. (Guest)
on 2006-12-22 22:20
Im trying to do

   def keep_book_photos

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.
This topic is locked and can not be replied to.