]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/rtlcss.rb
When downloading image, allow other map styles
[rails.git] / config / initializers / rtlcss.rb
index 11e4e0d5c053894f3752e730c06879d48e667dbb..793c484fc40127058a5ab790dcf0ae337151e6c8 100644 (file)
@@ -2,7 +2,7 @@ require "rtlcss"
 
 class RtlcssSCSSProcessor < SassC::Rails::ScssTemplate
   def self.call(input)
 
 class RtlcssSCSSProcessor < SassC::Rails::ScssTemplate
   def self.call(input)
-    output = super(input)
+    output = super
     data = Rtlcss.flip_css(output[:data])
     output.delete(:map)
     output.merge(:data => data)
     data = Rtlcss.flip_css(output[:data])
     output.delete(:map)
     output.merge(:data => data)