projects_controller.patch

Jan from Planio www.plan.io, 2010-03-08 12:28

Download (605 Bytes)

View differences:

app/controllers/projects_controller.rb
304 304
        @issues_by_version[version] = issues
305 305
      end
306 306
    end
307
    @versions.reject! {|version| !project_ids.include?(version.project_id) && @issues_by_version[version].empty?}
307
    @versions.reject! {|version| !project_ids.include?(version.project_id) && @issues_by_version[version].blank?}
308 308
  end
309 309
  
310 310
  def activity