From 602432f72dacb574c566123490bb6ef79fec93e8 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 15 May 2024 17:54:34 -0300 Subject: [PATCH] fix: los openstruct no tienen key? --- app/models/site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/site.rb b/app/models/site.rb index 75b0a744..691f3019 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -587,7 +587,7 @@ class Site < ApplicationRecord # # @return [Bool] def theme? - config.key?('theme') + config['theme'].present? end # El directorio donde se encuentran los archivos de la plantilla. Si