app/controllers/dance_studios_controller.rb
# Displays a dance studio's current costume assignments
# GET /dance_studios/:id/current_assignments
Displays a dance studio's current costume assignments
GET /dance_studios/:id/current_assignments
Displays a dance studio ' s current costume assignments GET / dance_studios / : id / current_assignments
def current_assignments
    @assignments = current_user.current_studio_assignments
    @costumes = @assignments.find_costumes
    @season = @assignments.first.dance_season unless @assignments.empty?
  end
def current_assignments @assignments = current_user . current_studio_assignments @costumes = @assignments . find_costumes @season = @assignments . first . dance_season unless @assignments . empty? end
Displays a dance studio's current costume assignments
GET /dance_studios/:id/current_assignments
Displays a dance studio ' s current costume assignments GET / dance_studios / : id / current_assignments