Skip to content

Commit 51e1abc

Browse files
committed
Update names_controller.rb
1 parent 5b41aa3 commit 51e1abc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/names_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +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))
196+
response.set_header('Link', '<%s>; rel="cannonical"' % cannonical_url)
197197
render(
198198
template: 'names/show_pdf.html.erb',
199199
pdf: "#{@name.name} | SeqCode Registry",

0 commit comments

Comments
 (0)