FIX: Prevent duplicate params for raw template theme handlebars helpers

This commit is contained in:
David Taylor
2019-02-08 12:54:00 +00:00
parent e3324737ee
commit 95b5c5898e
3 changed files with 14 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ class ThemeField < ActiveRecord::Base
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) }
COMPILER_VERSION = 9
COMPILER_VERSION = 10
belongs_to :theme