lib/wicked_pdf/middleware.rb in wicked_pdf-1.0.0 vs lib/wicked_pdf/middleware.rb in wicked_pdf-1.0.1
- old
+ new
@@ -1,8 +1,7 @@
class WickedPdf
class Middleware
-
def initialize(app, options = {}, conditions = {})
@app = app
@options = (WickedPdf.config || {}).merge(options)
@conditions = conditions
end
@@ -87,8 +86,7 @@
end
def concat(accepts, type)
(accepts || '').split(',').unshift(type).compact.join(',')
end
-
end
end