def index
      relations = %i[project chapter]
      scope = Release.includes(*relations)
      @releases = Queries::Service.new(scope).call(query_params).per(25)
    end

Изменить пасту