JC: added resources in routes.rb and zone_id to project.