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
f13bcb2b
Commit
f13bcb2b
authored
Sep 15, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LdapGroupLink error message
ActiveModel::Validations has an 'errors' attribute, but no 'error'.
parent
405a5acb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/controllers/groups/ldap_group_links_controller.rb
app/controllers/groups/ldap_group_links_controller.rb
+2
-2
No files found.
app/controllers/groups/ldap_group_links_controller.rb
View file @
f13bcb2b
...
@@ -16,7 +16,7 @@ class Groups::LdapGroupLinksController < ApplicationController
...
@@ -16,7 +16,7 @@ class Groups::LdapGroupLinksController < ApplicationController
redirect_to
:back
,
notice:
'New LDAP link saved'
redirect_to
:back
,
notice:
'New LDAP link saved'
end
end
else
else
redirect_to
:back
,
alert:
"Could not create new LDAP link:
#{
ldap_group_link
.
error
.
full_messages
*
', '
}
"
redirect_to
:back
,
alert:
"Could not create new LDAP link:
#{
ldap_group_link
.
error
s
.
full_messages
*
', '
}
"
end
end
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