lib/bullet_train/themes.rb in bullet_train-themes-1.2.27 vs lib/bullet_train/themes.rb in bullet_train-themes-1.3.0
- old
+ new
@@ -7,10 +7,9 @@
mattr_accessor :themes, default: {}
mattr_accessor :logo_height, default: 54
mattr_reader :partial_paths, default: {}
- # TODO Do we want this to be configurable by downstream applications?
INVOCATION_PATTERNS = [
# ❌ This path is included for legacy purposes, but you shouldn't reference partials like this in new code.
/^account\/shared\//,
# ✅ This is the correct path to generically reference theme component partials with.