fixup! crear el sitio si no existe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-06-11 14:19:30 -03:00
parent 35105060c6
commit b3c94af2e8

View file

@ -25,7 +25,7 @@
<li role="separator" class="divider"></li>
<li><%= link_to t('.new_dashboard'), new_dashboard_path %></li>
<li><%= link_to t('.new_check'), new_check_path %></li>
<li><%= link_to t('.site'), Rails.application.routes.url_helpers.site_path(Site.first || Site.create(title: 'Ectomobile') %></li>
<li><%= link_to t('.site'), Rails.application.routes.url_helpers.site_path(Site.first || Site.create(title: 'Ectomobile')) %></li>
<li><%= link_to t('.users'), Rails.application.routes.url_helpers.users_path %></li>
</ul>
</div>