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

pulibrary / bibdata / b3c4a532-5da0-46f8-9c20-20018605a028

21 Mar 2025 08:11PM UTC coverage: 42.257% (-49.9%) from 92.185%
b3c4a532-5da0-46f8-9c20-20018605a028

push

circleci

sandbergja
Move various gems from the default Gemfile group to a more appropriate group

1599 of 3784 relevant lines covered (42.26%)

2.56 hits per line

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

75.0
/app/controllers/delivery_locations_controller.rb
1
# frozen_string_literal: true
2

3
class DeliveryLocationsController < ApplicationController
1✔
4
  before_action :authenticate_user!, only: %i[new create edit update destroy]
1✔
5
  before_action :set_delivery_location, only: %i[show edit update destroy]
1✔
6

7
  # GET /delivery_locations
8
  def index
1✔
9
    @delivery_locations = DeliveryLocation.all
1✔
10
  end
11

12
  # GET /digital_locations
13
  def digital_locations
1✔
14
    @delivery_locations = DeliveryLocation.select(&:digital_location?)
×
15
    render :index
×
16
  end
17

18
  # GET /delivery_locations/1
19
  def show; end
1✔
20

21
  private
1✔
22

23
    # Use callbacks to share common setup or constraints between actions.
24
    def set_delivery_location
1✔
25
      # nosemgrep
26
      @delivery_location = DeliveryLocation.find(params[:id])
×
27
    end
28
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