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

uclibs / ucrate / 1ce3f6dd-79ca-40ea-8043-3f9b7738f553

10 May 2024 03:52PM UTC coverage: 59.369% (-13.8%) from 73.176%
1ce3f6dd-79ca-40ea-8043-3f9b7738f553

push

circleci

web-flow
Sets version for bunlder on capistrano deploy. (#1163)

Pin bundler version to make capistrano happy

---------

Co-authored-by: Thomas Scherz <scherztc@ucmail.uc.edu>

2259 of 3805 relevant lines covered (59.37%)

53.88 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