grails-plugins/grails-resources — pull request #10 by tomaslin (2011-12-10 11:35:11+00:00)
Title: Base Url mapper and spock tests

Hi Marc,

Here are the changes for the base url mapper.

There are a few details on how to create a pulldown cdn in the plugin :
https://github.com/tomaslin/grails-cdn-resources/blob/master/README.md

New configuration parameters are

grails.resources.mappers.baseurl.enabled = true
grails.resources.mappers.baseurl.baseUrl = 'http://www.google.com/'
grails.resources.mappers.baseurl.moduleUrls = [ 'google' : 'http://www.google.com/apis', 'core' : 'http://subdomain.mysite.com' ]

The last one is for specifying individual modules per name.