Change or create URL mapping dynamically in Grails

Posted by firnnauriel on Stack Overflow See other posts from Stack Overflow or by firnnauriel
Published on 2010-05-11T10:51:17Z Indexed on 2010/05/11 16:04 UTC
Read the original article Hit count: 192

Filed under:
|

How can i modify the Url mappings in Grails dynamically? Let's say I have this in my UrlMappings.groovy:

"/"(controller:'home')

At some point or event in the app, I want to change it to:

"/"(controller:'url')

Is this possible? Thanks!

© Stack Overflow or respective owner

Related posts about grails

Related posts about urlmapping