Introduction
Introduction Statistics Contact Development Disclaimer Help
fixes #14 modified flash to a flash.now so the flash notification would only sh…
Log
Files
Refs
README
---
commit ab60705fa3d911254e6dc11b9ccd448d50fb0afa
parent 91a334615ef8dd1585d142ce615b9683c7690fb3
Author: zeknox <[email protected]>
Date: Fri, 23 Oct 2015 23:34:32 -0500
fixes #14 modified flash to a flash.now so the flash notification would only sh…
Diffstat:
M app/controllers/application_contro… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/controllers/application_controller.rb b/app/controllers/applic…
@@ -23,7 +23,7 @@ private
def require_user
unless current_user
store_location
- flash[:notice] = "You must be logged in to access this…
+ flash.now[:notice] = "You must be logged in to access …
redirect_to '/login'
return false
end
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.