app/helpers/titler/titler_helper.rb in titler-0.4.4 vs app/helpers/titler/titler_helper.rb in titler-1.0.0
- old
+ new
@@ -18,10 +18,10 @@
def initialize(controller:, i18n:, title_as_set:, context:)
@controller = controller
@i18n = i18n
@title_as_set = title_as_set
@context = context
- @configuration = Configuration.new
+ @configuration = Titler.configuration
end
def to_s
th = title_hash = Hash.new
th[:env_prefix] = env_prefix