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
f09429b2
Commit
f09429b2
authored
Jun 02, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Schedule ES index update after commit
parent
53dc2fdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/models/issue_assignee.rb
app/models/issue_assignee.rb
+1
-2
No files found.
app/models/issue_assignee.rb
View file @
f09429b2
...
...
@@ -5,8 +5,7 @@ class IssueAssignee < ActiveRecord::Base
belongs_to
:assignee
,
class_name:
"User"
,
foreign_key: :user_id
# EE-specific
after_create
:update_elasticsearch_index
after_destroy
:update_elasticsearch_index
after_commit
:update_elasticsearch_index
,
on:
[
:create
,
:destroy
]
# EE-specific
def
update_elasticsearch_index
...
...
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