Use request.fullpath for og:url tag

This commit is contained in:
Robert Speicher 2015-12-24 16:53:35 -05:00
parent c6d2508362
commit 99dc1fce5e

View file

@ -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