no cambiar la gema si es un sitio custom
This commit is contained in:
parent
a547400b9d
commit
a1d240d406
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ class Site < ApplicationRecord
|
|||
# TODO: Guardar la configuración también, quizás aprovechando algún
|
||||
# método de ActiveRecord para que lance un salvado recursivo.
|
||||
def sync_attributes_with_config!
|
||||
config.theme = design.gem
|
||||
config.theme = design.gem unless design.gem == 'sutty-theme-custom'
|
||||
config.description = description
|
||||
config.title = title
|
||||
config.url = url
|
||||
|
|
Loading…
Reference in a new issue