Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Serialize the location header if it exists
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

SerializeLocationHeader
======================

This plugin simply adds a _location item to your json output if it detects the Location header. This works around a bug in SWFUpload where you are unable to access the Location field from Javascript


Example
=======

render :json => @post, :location => url_for(@post)


Copyright (c) 2009 Multiplay (UK) Ltd., released under the MIT license
Something went wrong with that request. Please try again.