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
def site
@site ||= Site.first || Site.new
@site ||= Site.first || Site.create(title: 'Ectomobile')
end
def site_params