resources plugin and rewrite using url

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

resources plugin and rewrite using url

john robens
Hi

I found that the resources plugin breaks url rewrite of images.

I had a setup like this:
"/images/store/$file"(controller: "image", action: "display")

to  load an image from disk using a controller.

I added the resources plugin and found that it broke the rewrite.

I corrected it by changing the config to /file/to/id pattern instead
of passing file via UrlMappings.groovy.

Thanks
John

--
http://interlated.com.au
0434 996 607
Websites with Intelligence

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email