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