From c459461aa3db4141ec4aef229016a4745d476077 Mon Sep 17 00:00:00 2001 From: Eric Allen Date: Mon, 7 Dec 2009 18:36:10 -0500 Subject: [PATCH] Get rid of a deprecation warning --- 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 497c2fa1..9b76704d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -20,7 +20,7 @@ class CannotAccessContext < RuntimeError; end class ApplicationController < ActionController::Base - protect_from_forgery :secret => SITE_CONFIG['salt'] + protect_from_forgery helper :application include LoginSystem