lib/riif/rails/renderer.rb in riif-0.6.0 vs lib/riif/rails/renderer.rb in riif-0.7.0
- old
+ new
@@ -4,10 +4,10 @@
ActionController::Renderers.add :iif do |iif_string, options|
filename = options[:filename] || options[:template]
send_data(
iif_string,
filename: "#{filename}.iif",
- type: Mime::IIF,
+ type: Mime[:iif],
disposition: 'attachment'
)
end
end
end