Browse files

Feature [#39518117] Re-add company switcher

Removes unneeded modification to company decorator.
  • Loading branch information...
1 parent dba1753 commit 0fb96a4f5ed26a66692ce165a8b5e5964c6daae1 @Veejay Veejay committed Feb 18, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/decorators/company_decorator.rb
View
1 app/decorators/company_decorator.rb
@@ -52,7 +52,6 @@ def users_json
json.array!(company_memberships) do |json, membership|
user = membership.user.decorate
json.(user, :id, :first_name, :last_name, :full_name, :email, :gravatar, :current_company_id)
- json.companies company_memberships.map(&:company_id).uniq
preferences = user.user_preferences
if preferences.present?
json.preferences preferences

0 comments on commit 0fb96a4

Please sign in to comment.