diff --git a/app/helpers/asciicasts_helper.rb b/app/helpers/asciicasts_helper.rb index e38f82b..d6abd1b 100644 --- a/app/helpers/asciicasts_helper.rb +++ b/app/helpers/asciicasts_helper.rb @@ -37,7 +37,7 @@ module AsciicastsHelper private def translate_asset_paths(css) - css.gsub(/['"]\/assets\/(.+?)(-\w{32})?\.(.+?)['"]/) { |m| + css.gsub(/['"]\/assets\/(.+?)(-\w{64})?\.(.+?)['"]/) { |m| path = assets.find_asset("#{$1}.#{$3}").pathname "'#{path}'" }