X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2d22ab10f759828e27876f138b419ff4c0913b87..dbe165bbb3d6eda37d9579f1ac767599f9055607:/app/controllers/search_controller.rb diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 0217bb29e..6e9130a52 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -2,8 +2,8 @@ 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 + after_action :compress_output def search_all do_search(true, true, true)