fixup! fixup! crear el sitio si no existe

This commit is contained in:
f 2022-06-11 14:22:49 -03:00
parent b3c94af2e8
commit 430be2c223

View file

@ -21,7 +21,7 @@ class SitesController < ApplicationController
private private
def site def site
@site ||= Site.first || Site.new @site ||= Site.first || Site.create(title: 'Ectomobile')
end end
def site_params def site_params