From 91dbba5adfd45d86ce0101b80d3baecfb8a80923 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 18 Aug 2014 16:13:23 +0200 Subject: [PATCH] Fixed image url. --- .../javascripts/app/controllers/_default_navbar.js.coffee | 2 +- .../javascripts/app/views/dashboard/activity_stream.jst.eco | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_default_navbar.js.coffee b/app/assets/javascripts/app/controllers/_default_navbar.js.coffee index 75b64260e..7f257d9a2 100644 --- a/app/assets/javascripts/app/controllers/_default_navbar.js.coffee +++ b/app/assets/javascripts/app/controllers/_default_navbar.js.coffee @@ -4,7 +4,7 @@ App.Config.set( 'User', { callback: -> item = {} item['name'] = App.Session.get( 'login' ) - item['image'] = App.Session.get( 'image' ) + item['image'] = App.Session.get( 'imageUrl' ) return item target: '#current_user', class: 'user' diff --git a/app/assets/javascripts/app/views/dashboard/activity_stream.jst.eco b/app/assets/javascripts/app/views/dashboard/activity_stream.jst.eco index 2c0300983..85de791fa 100644 --- a/app/assets/javascripts/app/views/dashboard/activity_stream.jst.eco +++ b/app/assets/javascripts/app/views/dashboard/activity_stream.jst.eco @@ -2,7 +2,7 @@ <% for item in @items: %>
- +