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

tulibraries / isilon-tracker / 29607746295

17 Jul 2026 07:29PM UTC coverage: 82.777%. First build
29607746295

Pull #437

github

sensei100
IMT-111 New settings for inactive users
Pull Request #437: IMT-111 New settings for inactive users

10 of 12 new or added lines in 3 files covered. (83.33%)

1240 of 1498 relevant lines covered (82.78%)

16.46 hits per line

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

81.82
/app/controllers/application_controller.rb
1
class ApplicationController < ActionController::Base
1✔
2
  # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has()
3
  allow_browser versions: :modern
1✔
4
  before_action :authenticate_user!, :ensure_active_user!
1✔
5

6
  include NavigationData
1✔
7
  include SessionTimeoutData
1✔
8

9
  private
1✔
10

11
  def ensure_active_user!
1✔
12
    return unless user_signed_in?
634✔
13
    return if current_user.active_status?
573✔
14

NEW
15
    sign_out current_user
×
16

NEW
17
    redirect_to(
×
18
      new_user_session_path,
19
      alert: "Your account is inactive."
20
    )
21
  end
22
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