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

uclibs / ucrate / 967c40a7-ec82-4472-ab0d-5023fb75c4b0

05 Mar 2025 07:47PM UTC coverage: 58.133% (-15.9%) from 74.06%
967c40a7-ec82-4472-ab0d-5023fb75c4b0

Pull #1178

circleci

Thomas Scherz
Removes Willow Sword from Gemfile.
Pull Request #1178: Bundle Update PR

2223 of 3824 relevant lines covered (58.13%)

109.27 hits per line

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

52.63
/app/controllers/classify_concerns_controller.rb
1
# frozen_string_literal: true
2
class ClassifyConcernsController < ApplicationController
2✔
3
  include Hyrax::ThemedLayoutController
2✔
4
  with_themed_layout '1_column'
2✔
5
  before_action :auth_shib_user!
2✔
6
  load_and_authorize_resource
2✔
7

8
  add_breadcrumb 'Submit a work', (->(controller) { controller.request.path })
14✔
9

10
  attr_reader :classify_concern
2✔
11
  helper_method :classify_concern
2✔
12

13
  def new; end
2✔
14

15
  def create
2✔
16
    classify_concern.attributes = params[:classify_concern]
×
17
    if classify_concern.valid?
×
18
      respond_to do |wants|
×
19
        wants.html do
×
20
          redirect_to new_polymorphic_path(
×
21
            [:curation_concerns, classify_concern.curation_concern_class]
22
          )
23
        end
24
        wants.json { render_json_response(response_type: :created, options: { location: polymorphic_path([main_app, :curation_concerns, curation_concern]) }) }
×
25
      end
26
    else
27
      respond_to do |wants|
×
28
        wants.html { render 'new', status: :unprocessable_entity }
×
29
        wants.json { render_json_response(response_type: :unprocessable_entity, message: curation_concern.errors.messages) }
×
30
      end
31
    end
32
  end
33
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