Grails 2.5.0 - Use Asset Pipeline to use createLink in .js file? -
i'm looking add "do want log out?" dialog pops before session ends, , user can click ok ping site , not automatically logged out.
to code this, ideally add <asset:javascript src="session.logout.dialog.js" /> layout.
the issue in including .js file need links controllers in javascript file. i'm not aware of way code links without kind of initialization code in gsp such initlogoutdialog("${createlink(...)}"). asset pipeline plugin allow me way bypass normal restrictions , use createlink if gsp?
Comments
Post a Comment