Sha256: 9a3fa458ea598476c4d88aecbb2dffb5acb9bbaa02eff7142f086488837127d3

Contents?: true

Size: 232 Bytes

Versions: 23

Compression:

Stored size: 232 Bytes

Contents

class Iugu::ApplicationDomainController < ApplicationController

  before_filter :get_account_from_domain
  
  private

  def get_account_from_domain
    @account = Account.get_from_domain(request.host) if request.host
  end
  
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.23 app/controllers/iugu/application_domain_controller.rb
iugusdk-1.0.0.alpha.22 app/controllers/iugu/application_domain_controller.rb
iugusdk-1.0.0.alpha.21 app/controllers/iugu/application_domain_controller.rb