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

@ -22,6 +22,7 @@ class IssuesController < ApplicationController
respond_to do |format|
format.html # index.html.erb
format.js
format.atom { render :layout => false }
end
end
@ -38,7 +39,7 @@ class IssuesController < ApplicationController
@notes = @issue.notes.order("created_at DESC").limit(20)
@note = @project.notes.new(:noteable => @issue)
respond_to do |format|
respond_to do |format|
format.html
format.js { respond_with_notes }
end