Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_json_for_registrations
- hash = controller_as_json(@roster_user)
- community_hash = controller_as_json(@community)
- hash['cnc/logistics/roster_users'] = [hash.delete('cnc/logistics/roster_user')]
- hash['cnc/communities/communities'] = [community_hash.delete('cnc/communities/community')]
- hash
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement