File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
app/Http/Controllers/Admin Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 55use App \Http \Controllers \SettingsController ;
66use App \Models \Issue ;
77use App \Models \Section ;
8- use App \Repositories \ArticleRepository ;
98use App \Repositories \IssueRepository ;
109use Illuminate \Contracts \Foundation \Application ;
1110use Illuminate \Http \Request ;
@@ -84,7 +83,6 @@ protected function previewData($item)
8483 protected function formData ($ request )
8584 {
8685 $ issue = app (IssueRepository::class)->getById (request ('issue ' ));
87- $ article = app (ArticleRepository::class)->getById (request ('article ' ));
8886 return [
8987 'sections ' => app ()->make (\App \Repositories \SectionRepository::class)->listAll (),
9088 'issues ' => app ()->make (IssueRepository::class)->listAll ('issue ' )->sortDesc (),
@@ -106,7 +104,6 @@ protected function formData($request)
106104 'label ' => 'Edit ' ,
107105 ],
108106 ],
109- 'customPermalink ' => $ article ->link (),
110107 ];
111108 }
112109
You can’t perform that action at this time.
0 commit comments