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("Usuários", users_path)
- if @user and @user.id
= "› " + link_to(h(@user.name), user_url(@user))