mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
library with grid
This commit is contained in:
@@ -11,13 +11,6 @@ class InternArticleView extends Component
|
||||
{
|
||||
public LibraryItem $libraryItem;
|
||||
|
||||
public function mount()
|
||||
{
|
||||
if (!$this->libraryItem->createdBy->hasRole('news-editor')) {
|
||||
abort(403, 'This article is not available for viewing.');
|
||||
}
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.news.intern-article-view')->layout('layouts.app', [
|
||||
|
||||
Reference in New Issue
Block a user