fix broken links

This commit is contained in:
Toks
2014-11-10 17:15:36 -05:00
parent aaaa36e4fb
commit d84f263641
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ class PostPresenter < Presenter
def image_html(template)
return template.content_tag("p", "The artist requested removal of this image") if @post.is_banned? && !CurrentUser.user.is_gold?
return template.content_tag("p", template.link_to("You need a gold account to see this image.", template.upgrade_information_users_path)) if !Danbooru.config.can_user_see_post?(CurrentUser.user, @post)
return template.content_tag("p", template.link_to("You need a gold account to see this image.", template.new_user_upgrade_path)) if !Danbooru.config.can_user_see_post?(CurrentUser.user, @post)
return template.content_tag("p", "This image is unavailable") if !@post.visible?
if @post.is_flash?

View File

@@ -100,7 +100,7 @@
<li><%= link_to("Feedback", user_feedbacks_path) %></li>
<li><%= link_to("Signup", new_user_path) %></li>
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
<li><%= link_to("Upgrade Information", upgrade_information_users_path) %></li>
<li><%= link_to("Upgrade Information", new_user_upgrade_path) %></li>
</ul>
<ul>
<li><h1>Admin</h1></li>