app/controllers/employees_controller.rb
# Loads all unassigned associations for the employee in the given year. 
Loads all unassigned associations for the employee in the given year.
Loads all unassigned associations for the employee in the given year .
def load_available_associations
      @available_groups = @employee.get_available_groups
      @available_services = @employee.get_available_services(@year)
      @available_products = @employee.get_available_products(@year)
    end
def load_available_associations @available_groups = @employee . get_available_groups @available_services = @employee . get_available_services ( @year ) @available_products = @employee . get_available_products ( @year ) end
Loads all unassigned associations for the employee in the given year.
Loads all unassigned associations for the employee in the given year .