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

pulibrary / oawaiver / 4c58f228-48a4-42b8-b602-7ef06e9d283f

22 Jan 2026 07:59PM UTC coverage: 48.098% (-49.5%) from 97.554%
4c58f228-48a4-42b8-b602-7ef06e9d283f

push

circleci

jrgriffiniii
wip

354 of 736 relevant lines covered (48.1%)

0.52 hits per line

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

58.82
/app/controllers/application_controller.rb
1
# frozen_string_literal: true
2

3
class ApplicationController < ActionController::Base
1✔
4
  before_action :authenticate_account!, only: [:manage]
1✔
5

6
  # Prevent CSRF attacks by raising an exception.
7
  # For APIs, you may want to use :null_session instead.
8
  protect_from_forgery with: :exception
1✔
9

10
  def manage
1✔
11
    @notes = params["notes"] || ""
×
12
    @accounts = Account.where(netid: current_account.netid)
×
13
    @account = Account.new
×
14

15
    render controller: "application", action: "manage"
×
16
  end
17

18
  def author_search_status
1✔
19
    current_author_status_url = AuthorStatus.status_url(context: self)
×
20
    redirect_to(current_author_status_url)
×
21
  end
22

23
  private
1✔
24

25
  rescue_from "Exception" do |exception|
1✔
26
    flash[:alert] = "An exception occurred: #{exception.message}"
1✔
27
    render controller: :application, action: :error
1✔
28
  end
29

30
  # This override is necessary for OmniauthCallbacksController
31
  def after_sign_in_path_for(_resource)
1✔
32
    request.env["omniauth.origin"] || new_account_session_path
×
33
  end
34
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