create atom feed for issues

This commit is contained in:
Nihad Abbasov 2011-11-11 13:29:58 +04:00
parent 2b04c2a67f
commit f295ff84d9
4 changed files with 44 additions and 9 deletions

View file

@ -7,6 +7,8 @@
= javascript_include_tag "application"
- if current_page?(tree_project_path(@project)) || current_page?(project_commits_path(@project))
= auto_discovery_link_tag(:atom, project_commits_url(@project, :atom, :ref => @ref), :title => "Recent commits to #{@project.name}:#{@ref}")
- if request.path == project_issues_path(@project)
= auto_discovery_link_tag(:atom, project_issues_url(@project, :atom), :title => "#{@project.name} issues")
= csrf_meta_tags
= javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}";