]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Use Faraday in place of Net::HTTP so we can mock responses
[rails.git] / app / controllers / application_controller.rb
index 72de936d7f629eabc83ade79c0fab3a4018c237e..8322201ff16437a7f5806e506c4f1d3254574108 100644 (file)
@@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base
 
   protect_from_forgery
 
-  before_filter :fetch_body
+  before_action :fetch_body
 
   def authorize_web
     if session[:user]