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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
525128e48ca2b4c7fb6176ea166fccfd?d=identicon&s=25 Eric G. (gotskill10)
on 2006-12-22 21:20
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.
This topic is locked and can not be replied to.