code/Controller/AssetAdmin.php
public function legacyRedirectForEditView($request)
    {
        $fileID = $request->param('FileID');
        /** @var File $file */
        $file = File::get()->byID($fileID);
        $link = $this->getFileEditLink($file) ?: $this->Link();
        $this->redirect($link);
    }
public function legacyRedirectForEditView($request)
    {
        $fileID = $request->param('FileID');
        /** @var File $file */
        $file = File::get()->byID($fileID);
        $link = $this->getFileEditLink($file) ?: $this->Link();
        $this->redirect($link);
    }
public function legacyRedirectForEditView ( $ request ) { $ fileID = $ request -> param ( 'FileID' ) ; /** @var File $file */ $ file = File :: get ( ) -> byID ( $ fileID ) ; $ link = $ this -> getFileEditLink ( $ file ) ? : $ this -> Link ( ) ; $ this -> redirect ( $ link ) ; }
Redirects 3.x style detail links to new 4.x style routing.

@param HTTPRequest $request
Redirects 3 . x style detail links to new 4 . x style routing .