Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
000cd01b
Commit
000cd01b
authored
Nov 09, 2020
by
Nicolas Dular
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup welcome helper method
parent
7a752db3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/helpers/ee/welcome_helper.rb
ee/app/helpers/ee/welcome_helper.rb
+1
-1
ee/spec/helpers/ee/welcome_helper_spec.rb
ee/spec/helpers/ee/welcome_helper_spec.rb
+1
-1
No files found.
ee/app/helpers/ee/welcome_helper.rb
View file @
000cd01b
...
...
@@ -13,7 +13,7 @@ module EE
end
def
in_invitation_flow?
redirect_path
&
.
starts_with?
(
'/-/invites/'
)
redirect_path
.
present?
&&
redirect_path
.
starts_with?
(
'/-/invites/'
)
end
def
in_oauth_flow?
...
...
ee/spec/helpers/ee/welcome_helper_spec.rb
View file @
000cd01b
...
...
@@ -42,7 +42,7 @@ RSpec.describe EE::WelcomeHelper do
'/-/invites/xxx'
|
true
'/invites/xxx'
|
false
'/foo'
|
false
nil
|
nil
nil
|
false
end
with_them
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment