Grails ${appName} Parameter substitution -


my problem simple - ${appname} property substitution in config.groovy not appear working me.

i have config item called path.to.resources = ${appname}/videos, when read controller using grailsapplication.config.path.to.resources, i ${appname}/videos instead of myappname/videos.

i'm using grails 2.0.4 , sts

try this

path.to.resources = "${appname}/videos" 

Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -