Skip to content

Instantly share code, notes, and snippets.

@psykidellic
Created August 16, 2013 06:19
Show Gist options
  • Select an option

  • Save psykidellic/6247696 to your computer and use it in GitHub Desktop.

Select an option

Save psykidellic/6247696 to your computer and use it in GitHub Desktop.
diff --git a/app/controllers/api/v1/auth_controller.rb b/app/controllers/api/v1/auth_controller.rb
index 81b0fe1..d8d81ed 100644
--- a/app/controllers/api/v1/auth_controller.rb
+++ b/app/controllers/api/v1/auth_controller.rb
@@ -2,7 +2,7 @@ class Api::V1::AuthController < Api::V1::ApiController
skip_before_filter :verify_authenticity_token, only: [:signIn, :signOut]
before_filter :ensure_params_exist, only: :signIn
- before_filter :authenticate_user!, only: [:updateUser, :getUser, :updatePassword]
+ before_filter :authenticate_user!, only: [:getUser, :updatePassword]
after_filter :update_http_header_for_cors, only: [:signIn, :signOut, :updateUser]
def signIn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment