public function preview($id)
    {
        $this->addCss('/modules/system/assets/css/eventlogs/exception-beautifier.css', 'core');
        $this->addJs('/modules/system/assets/js/eventlogs/exception-beautifier.js', 'core');

        if (in_array(App::environment(), ['dev', 'local'])) {
            $this->addJs('/modules/system/assets/js/eventlogs/exception-beautifier.links.js', 'core');
        }

        return $this->asExtension('FormController')->preview($id);
    }
public function preview($id)
    {
        $this->addCss('/modules/system/assets/css/eventlogs/exception-beautifier.css', 'core');
        $this->addJs('/modules/system/assets/js/eventlogs/exception-beautifier.js', 'core');

        if (in_array(App::environment(), ['dev', 'local'])) {
            $this->addJs('/modules/system/assets/js/eventlogs/exception-beautifier.links.js', 'core');
        }

        return $this->asExtension('FormController')->preview($id);
    }
public function preview ( $ id ) { $ this -> addCss ( '/modules/system/assets/css/eventlogs/exception-beautifier.css' , 'core' ) ; $ this -> addJs ( '/modules/system/assets/js/eventlogs/exception-beautifier.js' , 'core' ) ; if ( in_array ( App :: environment ( ) , [ 'dev' , 'local' ] ) ) { $ this -> addJs ( '/modules/system/assets/js/eventlogs/exception-beautifier.links.js' , 'core' ) ; } return $ this -> asExtension ( 'FormController' ) -> preview ( $ id ) ; }
Preview page action
@return void
Preview page action