Sha256: d3723cfea22491d5c1d34f8d8977bcd440fdd48908802c97a5c9b1aeabbd6fa6

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

class ApplicationController < ActionController::Base
  # Aspects
  protect_from_forgery

  # Authentication
  before_filter :authenticate_user!

  # Tenancy
  def current_tenant
    current_user.tenant
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/controllers/application_controller.rb