Atualizando para o Rails 2.3.2

This commit is contained in:
2009-07-16 11:55:04 -03:00
parent dcfc38eb09
commit 8e9b698944
71 changed files with 220 additions and 173 deletions

View File

@@ -1,8 +1,8 @@
%h4.title= @course ? h(@course.full_name) : App.title
%h1.title Mudanças recentes
- if @course
= auto_discovery_link_tag :rss, formatted_course_log_url(@course, :rss)
-# if @course
=# auto_discovery_link_tag :rss, course_log_url(@course.id, :format => :rss)
.box
%table
@@ -15,7 +15,7 @@
- @log_entries.each do |entry|
%tr
%td= tz(entry.created_at).strftime("%d/%m/%y %H:%M:%S")
%td= link_to truncate(h(entry.user.display_name), 20), user_path(entry.user)
%td= link_to truncate(h(entry.user.display_name), :length => 20), user_url(entry.user.id)
- unless @course
%td= link_to h(entry.course.short_name), course_url(entry.course)
%td= render(:partial => 'log/log_entry', :locals => { :entry => entry })