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

uclibs / ucrate / 9f050151-6c1e-4579-b499-f1258f4b696a

05 Mar 2025 07:47PM UTC coverage: 48.802% (-25.3%) from 74.06%
9f050151-6c1e-4579-b499-f1258f4b696a

Pull #1177

circleci

Thomas Scherz
Removes Willow Sword from Gemfile.
Pull Request #1177: Removes Willow Sword from Gemfile.

1914 of 3922 relevant lines covered (48.8%)

52.93 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
1✔
3
  include Hyrax::ThemedLayoutController
1✔
4
  with_themed_layout '1_column'
1✔
5
  before_action :auth_shib_user!
1✔
6
  load_and_authorize_resource
1✔
7

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

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

13
  def new; end
1✔
14

15
  def create
1✔
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