]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/search_controller.rb
Implement context menu with: directions, add note, describe, centre.
[rails.git] / app / controllers / search_controller.rb
index 0217bb29e021cef6ec3ab6e79fa3a8add4f48748..8a632e6a2c2cebd9526afec79371a91cddc6e0fb 100644 (file)
@@ -2,8 +2,7 @@ class SearchController < ApplicationController
   # Support searching for nodes, ways, or all
   # Can search by tag k, v, or both (type->k,value->v)
   # Can search by name (k=name,v=....)
-  skip_before_filter :verify_authenticity_token
-  after_filter :compress_output
+  skip_before_action :verify_authenticity_token
 
   def search_all
     do_search(true, true, true)