app/controllers/costumes_controller.rb
# Studio
# Displays form for a dance studio to assign a costume for a season
# GET /costumes/:id/assign
Studio
Displays form for a dance studio to assign a costume for a season
GET /costumes/:id/assign
Studio Displays form for a dance studio to assign a costume for a season GET / costumes / : id / assign
def assign_costume
    @shared_info = @assignments.first
    @assignment_info = @costume.build_shared_assignment_info
    @costume.build_assignments_with_dancer_id(current_user)
  end
def assign_costume @shared_info = @assignments . first @assignment_info = @costume . build_shared_assignment_info @costume . build_assignments_with_dancer_id ( current_user ) end
Studio
Displays form for a dance studio to assign a costume for a season
GET /costumes/:id/assign
Studio Displays form for a dance studio to assign a costume for a season GET / costumes / : id / assign
# get info to display if previously assigned # build an empty costume assignment to collect shared info # build costume assignments w/ dancer_id to collect each dancer's info