Sha256: 335a2d0da40e10f9a45f431a1c450a36ec3009e3042dd54a31e8ae9e54885061

Contents?: true

Size: 260 Bytes

Versions: 5

Compression:

Stored size: 260 Bytes

Contents

module StripeWrapper
  class ApplicationController < ActionController::Base
    include StripeWrapper::StripeWrapperHelper
    protect_from_forgery with: :exception

    def main_app_current_user
      @current_user = current_user rescue nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe_wrapper-0.1.6 app/controllers/stripe_wrapper/application_controller.rb
stripe_wrapper-0.1.5 app/controllers/stripe_wrapper/application_controller.rb
stripe_wrapper-0.1.4 app/controllers/stripe_wrapper/application_controller.rb
stripe_wrapper-0.1.3 app/controllers/stripe_wrapper/application_controller.rb
stripe_wrapper-0.1.2 app/controllers/stripe_wrapper/application_controller.rb