mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 01:04:09 +08:00
FIX: Bump Compiler Version
In 98719be we fixed raw handlebars, but they won't be recompiled without this bump.
This commit is contained in:
parent
b805037825
commit
eae57652a4
@ -60,7 +60,7 @@ class ThemeField < ActiveRecord::Base
|
|||||||
validates :name, format: { with: /\A[a-z_][a-z0-9_-]*\z/i },
|
validates :name, format: { with: /\A[a-z_][a-z0-9_-]*\z/i },
|
||||||
if: Proc.new { |field| ThemeField.theme_var_type_ids.include?(field.type_id) }
|
if: Proc.new { |field| ThemeField.theme_var_type_ids.include?(field.type_id) }
|
||||||
|
|
||||||
BASE_COMPILER_VERSION = 12
|
BASE_COMPILER_VERSION = 13
|
||||||
DEPENDENT_CONSTANTS = [BASE_COMPILER_VERSION,
|
DEPENDENT_CONSTANTS = [BASE_COMPILER_VERSION,
|
||||||
GlobalSetting.cdn_url]
|
GlobalSetting.cdn_url]
|
||||||
COMPILER_VERSION = Digest::SHA1.hexdigest(DEPENDENT_CONSTANTS.join)
|
COMPILER_VERSION = Digest::SHA1.hexdigest(DEPENDENT_CONSTANTS.join)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user