summaryrefslogtreecommitdiff
path: root/app/finders/README.md
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-25 13:36:28 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-27 14:22:11 +0200
commit45e4727f97034f719b4fb2a061fd626f545db968 (patch)
tree74258b2172cf532b0505a666d29eba4ab7c4b2c3 /app/finders/README.md
parent106cb511de8259bb57da65294b6e4fbba9146b80 (diff)
downloadgitlab-ce-45e4727f97034f719b4fb2a061fd626f545db968.tar.gz
Set milestone on new issue when creating issue from index with milestone filter active.
Diffstat (limited to 'app/finders/README.md')
-rw-r--r--app/finders/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/README.md b/app/finders/README.md
index 1f46518d230..1a1c69dea38 100644
--- a/app/finders/README.md
+++ b/app/finders/README.md
@@ -16,7 +16,7 @@ issues = project.issues_for_user_filtered_by(user, params)
Better use this:
```ruby
-issues = IssuesFinder.new.execute(project, user, filter)
+issues = IssuesFinder.new(project, user, filter).execute
```
It will help keep models thiner.