original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Preview page action
  @return void
docstring_tokens: Preview page action