diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-28 16:37:00 -0500 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-05-25 08:15:20 -0400 |
commit | 7586807fc3e01d641dfb1211e7c0a6a92e5e68c0 (patch) | |
tree | 50d7bb3974ef5100c86a0c5c6b9f1ef339ab4adf /app/helpers/todos_helper.rb | |
parent | 76697c9b1b8f58fd05c7903398be776f5e364f21 (diff) | |
download | gitlab-ce-7586807fc3e01d641dfb1211e7c0a6a92e5e68c0.tar.gz |
Fix syntax
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r-- | app/helpers/todos_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 5d020e7f241..e01ff8407c3 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -41,9 +41,9 @@ module TodosHelper klass = 'status-box ' klass << "status-box-#{todo.target.state.dasherize}" - content_tag(:span, nil, class: klass) { + content_tag(:span, nil, class: klass) do todo.target.state.capitalize - } + end end def todos_filter_params |