circleci
2 of 2 new or added lines in 1 file covered. (100.0%)
394 existing lines in 25 files now uncovered.2855 of 3129 relevant lines covered (91.24%)
554.96 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" |
12✔ |
|
UNCOV
10
|
else
|
|
|
UNCOV
11
|
redirect_to dashboard_path |
18✔ |
|
UNCOV
12
|
end
|
|
|
UNCOV
13
|
end
|
|
| 14 |
|
|
|
UNCOV
15
|
def help; end |
2✔ |
|
UNCOV
16
|
end
|