search for: myimagescontroller

Displaying 1 result from an estimated 1 matches for "myimagescontroller".

2006 Apr 27
7
SuperImage plugin
...ing needs. Second, the "show_image" action is currently included in via "include SuperImagePlugin::Show" This works, but it means the action name that performs the image retrieval is locked in to be "show_image". I would like to have it works this way: class MyImagesController < ... image_action :foo end Then you can access the images via "/my_images/foo/12". Sadly though, metaprogramming like this still makes my head spin. If anyone has ideas about alleviating these 2 points, it sure would be appreciated. -- Posted via http://www.ruby-forum.co...