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

uclibs / ucrate / 6bf76a5d-794c-48a3-82fd-27c45a7885d1

28 Aug 2025 06:04PM UTC coverage: 42.875% (-13.2%) from 56.032%
6bf76a5d-794c-48a3-82fd-27c45a7885d1

push

circleci

web-flow
Gem updates to fix Capistrano (#1187)

1739 of 4056 relevant lines covered (42.87%)

37.65 hits per line

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

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

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

10
  attr_reader :classify_concern
×
11
  helper_method :classify_concern
×
12

13
  def new; end
×
14

15
  def create
×
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