lib/solidus_admin/configuration.rb in solidus_admin-0.1.0 vs lib/solidus_admin/configuration.rb in solidus_admin-0.2.0

- old
+ new

@@ -42,10 +42,12 @@ # @!attribute [rw] enable_alpha_features? # @return [Boolean] Determines whether alpha features are enabled or disabled in the application. # Setting this to `true` enables access to alpha stage features that might still be in testing or development. # Use with caution, as these features may not be fully stable or complete. # Default: false - preference :enable_alpha_features?, :boolean, default: false + preference :enable_alpha_features, :boolean, default: false + + alias enable_alpha_features? enable_alpha_features preference :storefront_product_path_proc, :proc, default: ->(_version) { ->(product) { "/products/#{product.slug}" } }