aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/default.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/default.rhtml')
-rw-r--r--app/views/layouts/default.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index 675bb38de..2f8e0bf36 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -49,7 +49,7 @@
<% end %>
<% end %>
<% if @has_json %>
- <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h main_url(request.request_uri) %>.json">
+ <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h main_url(request.request_uri, '.json') %>">
<% end %>
<% if @no_crawl %>