]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Update to rails 3
[rails.git] / app / controllers / application_controller.rb
index 655017847b81c34d200aac05d707d204de0c017e..2918354ffa423c009cedd10040e21a4a7509140e 100644 (file)
@@ -1,7 +1,7 @@
-# Filters added to this controller will be run for all controllers in the application.
-# Likewise, all the methods added will be available for all controllers.
 class ApplicationController < ActionController::Base
 
+  protect_from_forgery
+
   if STATUS == :database_readonly or STATUS == :database_offline
     session :off