• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uclibs / ucrate / aac01610-906c-4435-9cf7-d420eebc3902

01 Dec 2025 01:28PM UTC coverage: 53.19% (-4.3%) from 57.506%
aac01610-906c-4435-9cf7-d420eebc3902

Pull #1189

circleci

Janell-Huyck
Merge in develop
Pull Request #1189: WIP Fix Coveralls coverage reporting by removing double SimpleCov initialization

2084 of 3918 relevant lines covered (53.19%)

47.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/controllers/common_objects_controller.rb
1
# frozen_string_literal: true
2

3
class CommonObjectsController < ApplicationController
×
4
  def show
×
5
    curation_concern ||= ActiveFedora::Base.find(params[:id], cast: true)
×
6

7
    if curation_concern.class == Collection
×
8
      redirect_to Hyrax::Engine.routes.url_helpers.polymorphic_path(curation_concern)
×
9
    else
×
10
      redirect_to polymorphic_path(curation_concern)
×
11
    end
×
12

13
  rescue ActiveFedora::ObjectNotFoundError, Ldp::Gone
×
14
    render file: 'errors/not_found', status: :not_found
×
15
  end
×
16
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc