rails 3 fixes

This commit is contained in:
2013-07-14 11:11:18 -04:00
parent e563725dc5
commit 0991d7af8e
46 changed files with 164 additions and 129 deletions

View File

@@ -1,11 +1,11 @@
- @title = "#{App.title} - #{h(@course.full_name)}"
- @location = capture do
= link_to(App.title, index_url, :accesskey => 'z') + "›"
= link_to("Disciplinas", courses_url) + "›"
= link_to(h(@course.full_name), course_url(@course)) + "›"
= link_to(App.title, index_url, :accesskey => 'z') + ""
= link_to("Disciplinas", courses_url) + ""
= link_to(h(@course.full_name), course_url(@course)) + ""
= link_to("Arquivos", course_attachments_url(@course))
- if @attachment.id
= "›" + link_to(truncate(h(@attachment.file_name)), course_attachment_url)
= "" + link_to(truncate(h(@attachment.file_name)), course_attachment_url)
- @title = @title + " - #{truncate(h(@attachment.file_name))}"
- @left_panel = render 'courses/left_panel'