Sha256: eb3922e6c4bed1a5202e760f54c10eac7e5f3dbea71365da405b5e32fa46b397
Contents?: true
Size: 682 Bytes
Versions: 6
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true class Auth::OmniauthCallbacksController < Devise::OmniauthCallbacksController layout '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
6 entries across 6 versions & 1 rubygems