mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
1eb70973a2
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.
8 lines
199 B
Ruby
8 lines
199 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCustomHomepageThemeModifiers < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :theme_modifier_sets, :custom_homepage, :boolean, null: true
|
|
end
|
|
end
|