-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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:
/images/upload?image_class=Photo
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 }]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels