mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 23:04:22 +08:00
This PR adds a theme modifier and route so that custom themes can opt to show their own homepage. See PR description for example usage.
7 lines
199 B
Ruby
Vendored
7 lines
199 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class AddCustomHomepageThemeModifiers < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :theme_modifier_sets, :custom_homepage, :boolean, null: true
|
|
end
|
|
end
|