Sweet. Looks like I was just missing a part of the documentation.
Thanks for the help.
~~ Robert.
Peter Ledbrook wrote:
>> How do I get at the file suffix as part of the mappings (e.g. a constraint)?
>>
>> I'd also like to handle .xml and .html files differently -- something akin to responds_to in Rails.
>
> Look in the User Guide under "Content Negotiation". To get the file
> extensions, you need to set this configuration option in
> Config.groovy:
>
> grails.mime.file.extensions = false
>
> Cheers,
>
> Peter
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email