lib/trestle/configuration.rb in trestle-0.8.13 vs lib/trestle/configuration.rb in trestle-0.9.0
- old
+ new
@@ -20,9 +20,12 @@
option :footer, -> { I18n.t("trestle.footer", default: "Powered by Trestle") }
# Default timestamp precision
option :timestamp_precision, :minutes
+ # Theme stylesheet compilation (requires Sass support)
+ option :theme, defined?(Sass) || defined?(SassC)
+
## Mounting Options
# Path at which to mount the Trestle admin
option :path, "/admin"