Skip to content

Commit 513de14

Browse files
committed
Fix display of static assets in YARD docs
1 parent 5ae3ab1 commit 513de14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/yard_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def respond
6666

6767
Rails.cache.delete(cache_key) if library_version&.ready? && (status != 200 || body.first.blank?)
6868

69-
if status == 200 && !request.path.starts_with?("/search")
69+
if status == 200 && !request.path.starts_with?("/search") && !request.path.starts_with?("/static")
7070
@contents = body.first
7171
render :show
7272
else

0 commit comments

Comments
 (0)