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
e42872af
Commit
e42872af
authored
Sep 02, 2021
by
Alejandro Guerrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using non-bang version of strip
parent
62b47eef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/app/models/saml_group_link.rb
ee/app/models/saml_group_link.rb
+1
-1
No files found.
ee/app/models/saml_group_link.rb
View file @
e42872af
...
...
@@ -16,7 +16,7 @@ class SamlGroupLink < ApplicationRecord
scope
:preload_group
,
->
{
preload
(
group: :route
)
}
def
strip_whitespace_from_saml_group_name
s
aml_group_name
.
strip!
s
elf
.
saml_group_name
=
self
&
.
saml_group_name
.
strip
end
end
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