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

uclibs / ucrate / b55db03c-843f-45a9-98b3-f75772ac783c

16 Apr 2025 05:43PM UTC coverage: 54.567% (-19.5%) from 74.06%
b55db03c-843f-45a9-98b3-f75772ac783c

push

circleci

web-flow
Add github workflow to trigger Teams webhook to notify for PR (#1179)

2103 of 3854 relevant lines covered (54.57%)

42.87 hits per line

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

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

3
# Generated via
4
#  `rails generate hyrax:work Document`
5
module Hyrax
×
6
  # Generated controller for Document
7
  class DocumentsController < ApplicationController
×
8
    # Adds Hyrax behaviors to the controller.
9
    include Hyrax::WorksControllerBehavior
×
10
    include Scholar::WorksControllerBehavior
×
11
    include Hyrax::BreadcrumbsForWorks
×
12
    self.curation_concern_type = ::Document
×
13

14
    # Use this line if you want to use a custom presenter
15
    self.show_presenter = Hyrax::DocumentPresenter
×
16

17
    def show
×
18
      super
×
19
      permalink_message = I18n.t('permanent_link_label')
×
20
      @permalinks_presenter = PermalinksPresenter.new(main_app.common_object_path(locale: nil), permalink_message)
×
21
    end
×
22
  end
×
23
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

© 2026 Coveralls, Inc