Sha256: af19f5ce62efac7de0a399ae3cdad53fb57f94303d10a3014e88ce7f363632e4
Contents?: true
Size: 792 Bytes
Versions: 2
Compression:
Stored size: 792 Bytes
Contents
# frozen_string_literal: true module MiniBlog module Users class OmniauthCallbacksController < Devise::OmniauthCallbacksController # 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/plataformatec/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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mini_blog-0.1.1 | app/controllers/mini_blog/users/omniauth_callbacks_controller.rb |
mini_blog-0.1.0 | app/controllers/mini_blog/users/omniauth_callbacks_controller.rb |