Skip to content

wycats/serialize_location_header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Serialize the location header if it exists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%