diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-19 08:14:05 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-19 08:14:05 +0400 |
commit | 4b02f4a22d2c7f10418c9202bb718dab185e6d82 (patch) | |
tree | 53eae1c19d06da704c794e120ae21658f5588ca3 /app/helpers | |
parent | e9c6d4adfaa3e47b73c7d3aefaceb1fff4fb2109 (diff) |
show production.log, show only active milestone for issue filter
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 264b764fa26..2825787fd2f 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -36,4 +36,8 @@ module IssuesHelper labels = labels.map{ |l| { label: l.name, value: l.name } } labels.to_json end + + def issues_active_milestones + @project.milestones.active.order("id desc").all + end end |