]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Mark all methods in api_controller and application_controller as private
[rails.git] / app / controllers / api_controller.rb
index cb3d71d490587f5641c27c0ca70ff528c42f0847..ebc75ac3919fbacc98fe1ff29960bbc56601566e 100644 (file)
@@ -1,6 +1,8 @@
 class ApiController < ApplicationController
   skip_before_action :verify_authenticity_token
 
+  private
+
   def authorize(realm = "Web Password", errormessage = "Couldn't authenticate you")
     # make the current_user object from any auth sources we have
     setup_user_auth