mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Move tenant settings on separate model (#196)
This commit is contained in:
committed by
GitHub
parent
6c03a0d750
commit
d4242dd78e
@@ -41,6 +41,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
# Load tenant data
|
||||
@tenant = Current.tenant_or_raise!
|
||||
@tenant_setting = TenantSetting.first_or_create
|
||||
@boards = Board.select(:id, :name).order(order: :asc)
|
||||
|
||||
# Setup locale
|
||||
|
||||
Reference in New Issue
Block a user