From 6faad25f2de21b4eee803fec9087bc18bdc7ed2b Mon Sep 17 00:00:00 2001 From: yafeilee Date: Sat, 13 Aug 2016 20:56:18 +0800 Subject: [PATCH] Ignore exception with null session --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e767f08..45c5f31 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,5 @@ class ApplicationController < ActionController::Base - protect_from_forgery with: :exception + protect_from_forgery helper_method :format_time, :format_date