From 1e82fe58c1df0157ca835607e5661b8a03be2583 Mon Sep 17 00:00:00 2001 From: ghostrigger Date: Tue, 16 Apr 2013 02:46:19 +0800 Subject: [PATCH] possible fix for issue #1340 added paragraph tag containing post.tag_string as child element of div inside content; also, as minor edit, modified post/atom to posts.atom and post/index to posts in the link href. --- app/views/posts/index.atom.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/posts/index.atom.erb b/app/views/posts/index.atom.erb index f988c55f8..b35ff1d58 100644 --- a/app/views/posts/index.atom.erb +++ b/app/views/posts/index.atom.erb @@ -2,8 +2,8 @@ <%= Danbooru.config.app_name %> - - + + http://<%= Danbooru.config.hostname %>/posts.atom?tags=<%= params[:tags] %> <% if @posts.any? %> <%= @posts[0].created_at.gmtime.xmlschema %> @@ -25,6 +25,7 @@ +

<%= post.tag_string %>