class ContactsController < ApplicationController
  expose(:search) {
    ContactsSearch.new params[:search]
  }

  expose(:department) {
    Department.find_by!(slug: params[:department_id])
  }

  expose(:contact) {
    department.contacts.find_by!(slug: params[:id]).decorate
  }

  expose(:contacts) {
    department.
    contacts.
    ungrouped.
    for_listing.
    decorate
  }

  def index
  end

  def show
  end
end

class ContactsController < ApplicationController
  expose(:search) {
    ContactsSearch.new params[:search]
  }

  expose(:department) {
    Department.find_by!(slug: params[:department_id])
  }

  expose(:contact) {
    department.contacts.find_by!(slug: params[:id]).decorate
  }

  expose(:contacts) {
    department.
    contacts.
    for_listing.
    decorate
  }

  def index
  end

  def show
  end
end

Include all contacts in the listing
Include all contacts in the listing

We're removing the grouping.
