diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-24 16:53:35 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-24 16:53:35 -0500 |
commit | 99dc1fce5ed84fb78bd993423db9c470021ea3a2 (patch) | |
tree | 10d8166d85133289f962a47c024796640d8a6bff /app/views | |
parent | c6d25083626c9a97a0ae442298b59c2ff9351f3a (diff) | |
download | gitlab-ce-99dc1fce5ed84fb78bd993423db9c470021ea3a2.tar.gz |
Use `request.fullpath` for `og:url` tag
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_head.html.haml | 2 |
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 |