Sha256: cce119cd36a9df2373b2173373e5046bd942a113bf162b179c86c96f310c5617

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

# frozen_string_literal: true

class Admin::Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
  layout 'admin/auth'
  # You should configure your model like this:
  # devise :omniauthable, omniauth_providers: [:twitter]

  # You should also create an action method in this controller like this:
  # def twitter
  # end

  # More info at:
  # https://github.com/heartcombo/devise#omniauth

  # GET|POST /resource/auth/twitter
  # def passthru
  #   super
  # end

  # GET|POST /users/auth/twitter/callback
  # def failure
  #   super
  # end

  # protected

  # The path used when OmniAuth fails
  # def after_omniauth_failure_path_for(scope)
  #   super(scope)
  # end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.1.2 app/controllers/admin/users/omniauth_callbacks_controller.rb
headmin-0.1.1 app/controllers/admin/users/omniauth_callbacks_controller.rb