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

pulibrary / tigerdata-app / 8479a24a-e310-45e5-8d6b-ec6c71da8281

24 Nov 2025 02:38PM UTC coverage: 73.002% (-15.1%) from 88.064%
8479a24a-e310-45e5-8d6b-ec6c71da8281

Pull #2235

circleci

carolyncole
Do not redirect from home page when login is disabled
fixes #2188
Pull Request #2235: Do not redirect from home page when login is disabled

2 of 5 new or added lines in 2 files covered. (40.0%)

320 existing lines in 38 files now uncovered.

2320 of 3178 relevant lines covered (73.0%)

209.4 hits per line

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

83.33
/app/controllers/welcome_controller.rb
1
# frozen_string_literal: true
2
class WelcomeController < ApplicationController
1✔
3
  skip_before_action :authenticate_user!
1✔
4
  skip_before_action :downtime_check
1✔
5
  skip_before_action :verify_authenticity_token
1✔
6

7
  def index
1✔
8
    if current_user.blank?
26✔
9
      render layout: "welcome"
10✔
10
    elsif Flipflop.disable_login?
16✔
NEW
11
      downtime_check(with_redirect: false)
×
NEW
12
      redirect_to dashboard_path if current_user&.eligible_sysadmin?
×
13
    else
14
      redirect_to dashboard_path
16✔
15
    end
16
  end
17

18
  def help; end
1✔
19
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