class ApplicationController < ActionController::Base protect_from_forgery before_filter :authenticate_user! before_filter :set_current_tenant # forces milia to set up current tenant end