Правила доступа на запись и подписанные ссылки

This commit is contained in:
rsgrinko committed 2026-09-15 22:25:58 +03:00
1 parent 9508c29964
commit 3a04ee5bb3
14 files changed
+638 -10

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ $report = View::takeStash('import');
<td class="hide-sm muted small"><?= View::e($note->excerpt(80)) ?></td>
<td class="hide-sm muted small"><?= View::e(View::ago((string) $note->raw('created_at'))) ?></td>
<td class="right">
<?php if (View::can('notes.manage')) { ?>
<?php if (View::can('note.edit', $note)) { ?>
<a class="btn small" href="<?= View::e(View::route('notes.edit', ['id' => $note->id()])) ?>">Править</a>
<?php } ?>
</td>