circleci
1 of 1 new or added line in 1 file covered. (100.0%)
440 existing lines in 26 files now uncovered.2811 of 3077 relevant lines covered (91.36%)
490.81 hits per line
| 1 |
# frozen_string_literal: true
|
|
|
UNCOV
2
|
class WelcomeController < ApplicationController |
2✔ |
|
UNCOV
3
|
skip_before_action :authenticate_user!
|
2✔ |
|
UNCOV
4
|
skip_before_action :downtime_check
|
2✔ |
|
UNCOV
5
|
skip_before_action :verify_authenticity_token
|
2✔ |
| 6 |
|
|
|
UNCOV
7
|
def index |
2✔ |
|
UNCOV
8
|
if current_user.blank?
|
30✔ |
|
UNCOV
9
|
render layout: "welcome" |
13✔ |
|
UNCOV
10
|
else
|
|
|
UNCOV
11
|
redirect_to dashboard_path |
17✔ |
|
UNCOV
12
|
end
|
|
|
UNCOV
13
|
end
|
|
| 14 |
|
|
|
UNCOV
15
|
def help; end |
2✔ |
|
UNCOV
16
|
end
|