mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add slugs for Posts, Boards and OAuths (#321)
This commit is contained in:
committed by
GitHub
parent
e887bca9cf
commit
09fb156a4e
@@ -35,7 +35,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)
|
||||
@boards = Board.select(:id, :name, :slug).order(order: :asc)
|
||||
|
||||
# Setup locale
|
||||
I18n.locale = @tenant.locale
|
||||
|
||||
Reference in New Issue
Block a user