diff --git a/app/Newsroom.php b/app/Newsroom.php index ad92d7b4..eca57eaf 100644 --- a/app/Newsroom.php +++ b/app/Newsroom.php @@ -19,4 +19,9 @@ class Newsroom extends Model return url("/site/newsroom/{$year}/{$month}/{$slug}"); } + + public function editUrl() + { + return url("/i/admin/newsroom/edit/{$this->id}"); + } }