Sha256: a6a65c4e4a1c4a4a207c8c8bbc0a54c7f2b55bc16f93d5b90e8fb7a598a97f08
Contents?: true
Size: 343 Bytes
Versions: 10
Compression:
Stored size: 343 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery include Devise::Oauth2::Authorization def before_authorize Rails.logger.info current_oauth2_client end def after_authorize Rails.logger.info 'We are calling after authorize!!!' end def after_denied_authorization redirect_to '/' end end
Version data entries
10 entries across 10 versions & 1 rubygems