Sha256: dfae3122cdd6fa6b2b2169e2f8f807b9a8e27d20eecadbfaa1f3f8578f3becdb
Contents?: true
Size: 652 Bytes
Versions: 25
Compression:
Stored size: 652 Bytes
Contents
class <%= @scope_prefix %>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
Version data entries
25 entries across 25 versions & 5 rubygems