diff --git a/gems/bess/lib/houdini.rb b/gems/bess/lib/houdini.rb index 9266cc2c..aaf6f88b 100644 --- a/gems/bess/lib/houdini.rb +++ b/gems/bess/lib/houdini.rb @@ -27,7 +27,7 @@ module Houdini mattr_accessor :source_tokens, default: {} - mattr_accessor :show_state_fields, default: true + mattr_accessor :show_state_field, default: true mattr_accessor :nonprofits_must_be_vetted, default: false mattr_accessor :terms_and_privacy, default: {} diff --git a/gems/bess/lib/houdini/engine.rb b/gems/bess/lib/houdini/engine.rb index f2a9e6c4..bca263e0 100644 --- a/gems/bess/lib/houdini/engine.rb +++ b/gems/bess/lib/houdini/engine.rb @@ -44,7 +44,7 @@ module Houdini config.houdini.source_tokens.event_donation_source.max_uses = 20 config.houdini.source_tokens.event_donation_source.expiration_after_event = 20.days - config.houdini.show_state_fields = true + config.houdini.show_state_field = true config.houdini.intl = ActiveSupport::OrderedOptions.new config.houdini.intl.language = :en @@ -101,7 +101,7 @@ in the provided locales: #{Houdini.intl.available_locales.join(', ')}") if Houdi Houdini.maps = app.config.houdini.maps Houdini.nonprofits_must_be_vetted = app.config.houdini.nonprofits_must_be_vetted - Houdini.show_state_fields = app.config.houdini.show_state_fields + Houdini.show_state_field = app.config.houdini.show_state_field Houdini.default_bp = app.config.houdini.default_bp.id Houdini.event_publisher.subscribe_all(app.config.houdini.listeners) diff --git a/lib/generators/overrides/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt b/lib/generators/overrides/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt index f3c12399..73d86eec 100644 --- a/lib/generators/overrides/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +++ b/lib/generators/overrides/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt @@ -42,7 +42,7 @@ config.houdini.source_tokens.event_donation_source.max_uses = 20 config.houdini.source_tokens.event_donation_source.expiration_after_event = 20.days - config.houdini.show_state_fields = true + config.houdini.show_state_field = true config.houdini.intl = ActiveSupport::OrderedOptions.new config.houdini.intl.language = :en