fix functional tests

This commit is contained in:
r888888888
2015-08-19 11:23:29 -07:00
parent b1bbb4fd9b
commit 076416c228
6 changed files with 7 additions and 10 deletions

View File

@@ -10,7 +10,7 @@
<script type="text/javascript">
var addthis_config = {"data_track_addressbar": false, "pubid": "ra-4f8dbf8a41066ac7"};
var addthis_share = {
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
"url":"<%= j post_url(post, :only_path => false, :host => Danbooru.config.hostname) %>",
"title": "<%= '#r_18 ' unless post.rating == 's' %><%= escape_javascript post.presenter.humanized_essential_tag_string.html_safe %>"
};
</script>