summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-24 16:53:35 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-24 16:53:35 -0500
commit99dc1fce5ed84fb78bd993423db9c470021ea3a2 (patch)
tree10d8166d85133289f962a47c024796640d8a6bff /app/views
parentc6d25083626c9a97a0ae442298b59c2ff9351f3a (diff)
downloadgitlab-ce-99dc1fce5ed84fb78bd993423db9c470021ea3a2.tar.gz
Use `request.fullpath` for `og:url` tag
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_head.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index ad1dacac1c8..d1cb07eaa66 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -11,7 +11,7 @@
%meta{property: 'og:title', content: page_title}
%meta{property: 'og:description', content: page_description}
%meta{property: 'og:image', content: page_image}
- %meta{property: 'og:url', content: url_for(only_path: false)}
+ %meta{property: 'og:url', content: request.base_url + request.fullpath}
%title= page_title