added :location option
This commit is contained in:
parent
a6c510a509
commit
3bf3c6f8ae
1 changed files with 5 additions and 4 deletions
|
@ -8,6 +8,7 @@ module ActionController
|
||||||
|
|
||||||
if plist
|
if plist
|
||||||
|
|
||||||
|
response.headers["Location"] = options[:location] unless options[:location].blank?
|
||||||
options[:content_type] ||= Mime::PLIST
|
options[:content_type] ||= Mime::PLIST
|
||||||
options[:disposition] ||= "inline"
|
options[:disposition] ||= "inline"
|
||||||
|
|
||||||
|
|
Reference in a new issue