public function edit(Redirect $redirect)
    {
        $this->authorize(RedirectsPolicy::PERMISSION_UPDATE);

        $statuses = RedirectStatuses::all();

        $this->setTitle($title = trans('seo::redirects.titles.edit-redirection'));
        $this->addBreadcrumb($title);

        return $this->view('admin.redirects.edit', compact('redirect', 'statuses'));
    }
public function edit(Redirect $redirect)
    {
        $this->authorize(RedirectsPolicy::PERMISSION_UPDATE);

        $statuses = RedirectStatuses::all();

        $this->setTitle($title = trans('seo::redirects.titles.edit-redirection'));
        $this->addBreadcrumb($title);

        return $this->view('admin.redirects.edit', compact('redirect', 'statuses'));
    }
public function edit ( Redirect $ redirect ) { $ this -> authorize ( RedirectsPolicy :: PERMISSION_UPDATE ) ; $ statuses = RedirectStatuses :: all ( ) ; $ this -> setTitle ( $ title = trans ( 'seo::redirects.titles.edit-redirection' ) ) ; $ this -> addBreadcrumb ( $ title ) ; return $ this -> view ( 'admin.redirects.edit' , compact ( 'redirect' , 'statuses' ) ) ; }
Get the edit page.

@param  \Arcanesoft\Seo\Models\Redirect  $redirect

@return \Illuminate\View\View
Get the edit page .