Move changeset show action to changesets controller

This commit is contained in:
Anton Khorev 2024-02-10 20:33:33 +03:00
parent d23763d6cd
commit c1b5ae0aa0
13 changed files with 120 additions and 114 deletions

View file

@ -2,8 +2,8 @@ comments.each do |comment|
xml.item do
xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
xml.link url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
xml.guid url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
xml.link changeset_url(comment.changeset, :anchor => "c#{comment.id}")
xml.guid changeset_url(comment.changeset, :anchor => "c#{comment.id}")
xml.description do
xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])