Skip to content

Commit 5b41aa3

Browse files
committed
Update names_controller.rb
1 parent 28fef2d commit 5b41aa3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/controllers/names_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def show
193193
format.html
194194
format.json
195195
format.pdf do
196+
response.set_header('Link', '<%s>; rel="cannonical"' % url_for(@name))
196197
render(
197198
template: 'names/show_pdf.html.erb',
198199
pdf: "#{@name.name} | SeqCode Registry",

0 commit comments

Comments
 (0)