fixes #14 modified flash to a flash.now so the flash notification would only show on one page refresh and would not show on successful login - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit ab60705fa3d911254e6dc11b9ccd448d50fb0afa
 (DIR) parent 91a334615ef8dd1585d142ce615b9683c7690fb3
 (HTM) Author: zeknox <mccann.brandon@gmail.com>
       Date:   Fri, 23 Oct 2015 23:34:32 -0500
       
       fixes #14 modified flash to a flash.now so the flash notification would only show on one page refresh and would not show on successful login
       
       Diffstat:
         M app/controllers/application_contro… |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
       @@ -23,7 +23,7 @@ private
                def require_user
                        unless current_user
                                store_location
       -                        flash[:notice] = "You must be logged in to access this page"
       +                        flash.now[:notice] = "You must be logged in to access this page"
                                redirect_to '/login'
                                return false
                        end