Skip to content

Instantly share code, notes, and snippets.

@t3easy
Created June 10, 2013 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t3easy/5749024 to your computer and use it in GitHub Desktop.
Save t3easy/5749024 to your computer and use it in GitHub Desktop.
class Tx_Extension_Controller_ModelController extends Tx_Extbase_MVC_Controller_ActionController {
/**
* action list
*
* @return void
*/
public function listAction() {
$GLOBALS['TSFE']->getPageRenderer()->addJsFooterFile(
t3lib_extMgm::siteRelPath('extensionkey') . 'Resources/Public/JavaScript/foo.js'
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment