Skip to content

Commit e14c198

Browse files
committed
Merge branch 'master' into repos-orgs
2 parents a23d77e + 478ddfd commit e14c198

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

Rules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ end
2727
compile '/shared/js/*' do
2828
end
2929

30+
compile '/assets/*' do
31+
end
32+
3033
compile '*' do
3134
filter :erb
3235
filter :kramdown
@@ -55,6 +58,10 @@ route '/shared/js/*/' do
5558
item.identifier.chomp('/') << '.js'
5659
end
5760

61+
route '/assets/favicon/' do
62+
'/favicon.ico'
63+
end
64+
5865
route '*' do
5966
item.identifier + 'index.html'
6067
end

content/assets/favicon.ico

1.12 KB
Binary file not shown.

content/v3/gists.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ default.
8080

8181
## Star a gist
8282

83-
POST /gists/:id/star
83+
PUT /gists/:id/star
8484

8585
### Response
8686

lib/resources.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def headers(status, head = {})
2525
head.each do |key, value|
2626
case key
2727
when :pagination
28-
lines << "X-Next: https://api.github.com/resource?page=2"
29-
lines << "X-Last: https://api.github.com/resource?page=5"
28+
lines << 'Link: <https://api.github.com/resource?page=2>; rel="next",'
29+
lines << ' <https://api.github.com/resource?page=5>; rel="last"'
3030
else lines << "#{key}: #{value}"
3131
end
3232
end

0 commit comments

Comments
 (0)