Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-29 00:37:00 +0300
committerJacob Schatz <jschatz1@gmail.com>2016-05-25 15:15:20 +0300
commit7586807fc3e01d641dfb1211e7c0a6a92e5e68c0 (patch)
tree50d7bb3974ef5100c86a0c5c6b9f1ef339ab4adf /app/helpers/todos_helper.rb
parent76697c9b1b8f58fd05c7903398be776f5e364f21 (diff)
Fix syntax
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r--app/helpers/todos_helper.rb4
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