Commit 82d3ed8efd444c036791dcc219dd4d3146d7a00e
Exists in
master
and in
21 other branches
Merge branch 'ai3150' into 'master'
Set current profile and add name and email to user_data http://noosfero.org/Development/ActionItem3150 See merge request !228
Showing
2 changed files
with
3 additions
and
0 deletions
Show diff stats
app/models/user.rb
... | ... | @@ -320,6 +320,8 @@ class User < ActiveRecord::Base |
320 | 320 | |
321 | 321 | { |
322 | 322 | 'login' => self.login, |
323 | + 'name' => self.person.name, | |
324 | + 'email' => self.email, | |
323 | 325 | 'avatar' => self.person.profile_custom_icon(gravatar_default), |
324 | 326 | 'is_admin' => self.person.is_admin?, |
325 | 327 | 'since_month' => self.person.created_at.month, | ... | ... |
app/views/layouts/application-ng.html.erb