From 8d736f8ac31420293857f6ed81fe17290476686a Mon Sep 17 00:00:00 2001 From: jazzari Date: Tue, 22 Aug 2023 12:41:02 -0300 Subject: [PATCH] Revert "feat: add boolean method for automatic publications #13244" This reverts commit c17cd0ac274eac564bb5ee8735cee23dacdf8d34. --- app/models/site.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/models/site.rb b/app/models/site.rb index d5b4c6cb..24644b9c 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -2,9 +2,7 @@ # Un sitio es un directorio dentro del directorio de sitios de cada # Usuaria -class def create_njalla_records? - !site.name.end_with?('.') -end < ApplicationRecord +class Site < ApplicationRecord include FriendlyId include Site::Forms include Site::FindAndReplace @@ -463,11 +461,6 @@ end < ApplicationRecord @docs = nil end - # @return [Boolean] - def automatic_publication? - @auto_publ = false - end - private # Asegurarse que el sitio tenga una llave privada