parent
42b43c3c2b
commit
526e8264a1
@ -1,6 +1,6 @@
|
||||
syntax: glob
|
||||
public/images/sanscons/*
|
||||
public/upload/*
|
||||
db/*db
|
||||
log/*
|
||||
*.db
|
||||
*.log
|
||||
config/database.yml
|
||||
|
@ -0,0 +1,19 @@
|
||||
xml.instruct! :xml, :version=>"1.0"
|
||||
xml.rss(:version=>"2.0") do
|
||||
xml.channel do
|
||||
xml.title("#{App.title} - #{@course.full_name} - " + "Recent changes"[].titleize)
|
||||
xml.link(course_log_url(@course))
|
||||
xml.language(App.language)
|
||||
xml.description("{course} recent changes"[:log_about, @course.full_name])
|
||||
for entry in @log_entries
|
||||
xml.item do
|
||||
description = render(:partial => 'log/log_entry.html.haml', :locals => { :entry => entry })
|
||||
xml.title("")
|
||||
xml.description(description + " por #{link_to h(entry.user.display_name), user_url(entry.user)}")
|
||||
xml.pubDate(entry.created_at.rfc2822)
|
||||
xml.link(course_log_url(@course, :id => entry))
|
||||
xml.guid(course_log_url(@course, :id => entry))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in new issue