fix error if not logged in

This commit is contained in:
2018-08-16 21:44:04 +02:00
parent cff01551de
commit 8d1de066e7
+1 -1
View File
@@ -61,7 +61,7 @@
{{ $revision->note }}
</div>
<div class="col-md-2 text-right">
@if(!$isCurrent && user()->ownsTable($table))
@if(!$isCurrent && authed() && user()->ownsTable($table))
<a href="{{$table->actionRoute('revert-to', ['rev' => $num])}}" class="btn btn-outline-secondary btn-sm">Set as current</a>
@endif
</div>