if @artist_view\r
this.$el.append(@artist_view.render().el)\r
sign_out = new Tag.A({\r
- attr: {href: '/'}, \r
+ attr: {href: '/users/sign_out'}, \r
class_name: 'sign_out', \r
content: 'sign out'\r
})\r
this\r
\r
author_click: () ->\r
- window.router.navigate(@author_view.url(), true)\r
+ @trigger('navigate', @author_view.url())\r
\r
artist_click: () ->\r
- window.router.navigate(@artist_view.url(), true)\r
+ @trigger('navigate', @artist_view.url())\r
\r
sign_out: () ->\r
user = new Backbone.Model({id: 0})\r