Sha256: 6a3d0cf07507683a70f0e3225be3372ec7369276318ab9dab72c162ba8bdaeb1

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  include Mixpal::Integration
  mixpanel_identity :current_user, :email

  private

  def current_user
    Struct.new(:email).new('nick@gophilosophie.com')
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mixpal-0.5.0 test_app/app/controllers/application_controller.rb
mixpal-0.4.2 test_app/app/controllers/application_controller.rb
mixpal-0.4.1 test_app/app/controllers/application_controller.rb
mixpal-0.4.0 test_app/app/controllers/application_controller.rb
mixpal-0.3.0 test_app/app/controllers/application_controller.rb
mixpal-0.2.1 test_app/app/controllers/application_controller.rb
mixpal-0.2.0 test_app/app/controllers/application_controller.rb
mixpal-0.1.0 test_app/app/controllers/application_controller.rb