easy_swf_upload
easy_swf_upload copied to clipboard
:url parameters
Using the swf_upload_area helper, I passed a route to :url along with an option like so:
:url => upload_images_path(:image_class => image_class)
The helper expands this as:
While the controller method ("upload", in this case) is called, it does not receive the parameter:
params[:image_class] does not exist (other params are there: Filename, authenticity_token, Upload, Filedata)
I tried to see if I could fix the problem within the javascript but I didn't see anything obvious. Is it the swf file which needs to change?
[Here's my route, for reference: map.resources :images, :collection => { :remove => :put, :upload => :post }, :member => { :toggle => :get }]
Flash object does not recognize params after "?". I pass params via route, /:param1/:param2/:param3