You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
309 B

  1. class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
  2. skip_before_action :authenticate_resource_owner!
  3. before_action :store_current_location
  4. before_action :authenticate_resource_owner!
  5. private
  6. def store_current_location
  7. store_location_for(:user, request.url)
  8. end
  9. end