Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opal/sprockets/source_map_server.rb
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ def call(env)
case path_info
when %r{^(.*)\.self\.map$}
path = $1
asset = sprockets[path]
asset = sprockets[path+'.js']
return not_found(path) if asset.nil?

# "logical_name" of a BundledAsset keeps the .js extension

0 comments on commit 843a4d6

Please sign in to comment.