Suporte a enderecos relativos

This commit is contained in:
2008-03-02 18:30:31 -03:00
parent 5e4951fa47
commit c5cb69f277
20 changed files with 41 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
- @title = "#{App.title}"
- @location = capture do
= link_to(App.title, "/") + "›";
= link_to(App.title, index_url) + "›";
= link_to("Disciplinas", courses_url)
- if @course and @course.id
= "› " + link_to(h(@course.full_name), course_url)