mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 22:36: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
|
||||
%tbody
|
||||
- @sites.each do |site|
|
||||
-# Los sitios pueden fallar en cargar si los eliminamos físicamente del disco
|
||||
- begin
|
||||
- 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)
|
||||
-#
|
||||
TODO: Solo les usuaries cachean porque tenemos que separar
|
||||
|
@ -56,5 +61,3 @@
|
|||
type: 'info',
|
||||
link: site_usuaries_path(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