Fix syntax

This commit is contained in:
Alfredo Sumaran 2016-04-28 16:37:00 -05:00 committed by Jacob Schatz
parent 76697c9b1b
commit 7586807fc3
1 changed files with 2 additions and 2 deletions

View File

@ -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