Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. def get_json_for_registrations
  2. hash = controller_as_json(@roster_user)
  3. community_hash = controller_as_json(@community)
  4. hash['cnc/logistics/roster_users'] = [hash.delete('cnc/logistics/roster_user')]
  5. hash['cnc/communities/communities'] = [community_hash.delete('cnc/communities/community')]
  6. hash
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement