mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 00:56:22 +00:00
Merge branch 'recuperar-partials' into panel.sutty.nl
This commit is contained in:
commit
62958c963f
1 changed files with 44 additions and 41 deletions
|
@ -14,8 +14,13 @@
|
||||||
%table.table.table-condensed
|
%table.table.table-condensed
|
||||||
%tbody
|
%tbody
|
||||||
- @sites.each do |site|
|
- @sites.each do |site|
|
||||||
|
-# Los sitios pueden fallar en cargar si los eliminamos físicamente del disco
|
||||||
- begin
|
- begin
|
||||||
- next unless site.jekyll
|
- next unless site.jekyll
|
||||||
|
- rescue StandardError => e
|
||||||
|
- ExceptionNotifier.notify_exception(e, data: { site: @site.name, usuarie: current_usuarie.id })
|
||||||
|
- next
|
||||||
|
|
||||||
- rol = current_usuarie.rol_for_site(site)
|
- rol = current_usuarie.rol_for_site(site)
|
||||||
-#
|
-#
|
||||||
TODO: Solo les usuaries cachean porque tenemos que separar
|
TODO: Solo les usuaries cachean porque tenemos que separar
|
||||||
|
@ -56,5 +61,3 @@
|
||||||
type: 'info',
|
type: 'info',
|
||||||
link: site_usuaries_path(site)
|
link: site_usuaries_path(site)
|
||||||
= render 'sites/build', site: site
|
= render 'sites/build', site: site
|
||||||
- rescue ActionView::Template::Error => e
|
|
||||||
- ExceptionNotifier.notify_exception(e.cause, data: { site: @site.name, usuarie: current_usuarie.id })
|
|
||||||
|
|
Loading…
Reference in a new issue