Commit 0ebb8eb

mokha <mokha@cisco.com>
2018-01-23 21:02:34
move authenticate to base class.
1 parent 96b0c6e
Changed files (2)
app/controllers/scim/v2/users_controller.rb
@@ -20,9 +20,6 @@ module Scim
 
       private
 
-      def authenticate!
-      end
-
       def user_params
         params.permit(:schemas, :userName)
       end
app/controllers/scim/controller.rb
@@ -1,5 +1,10 @@
 module Scim
   class Controller < ApplicationController
     protect_from_forgery with: :null_session
+
+    private
+
+    def authenticate!
+    end
   end
 end