lib/galakei/docomo_css/inline_stylesheet.rb in galakei-0.7.1 vs lib/galakei/docomo_css/inline_stylesheet.rb in galakei-0.7.2

- old
+ new

@@ -27,9 +27,8 @@ end return parser end def self.path(href) - base_path = href.gsub(ActionController::Base.asset_host || '', '').gsub(/\?\d+/,'') - File.join(Rails.root, 'public', base_path) + File.join(Rails.root, 'public', href.gsub(/\?\d+/,'')) end end