Fix syntax
This commit is contained in:
parent
76697c9b1b
commit
7586807fc3
|
@ -41,9 +41,9 @@ module TodosHelper
|
||||||
klass = 'status-box '
|
klass = 'status-box '
|
||||||
klass << "status-box-#{todo.target.state.dasherize}"
|
klass << "status-box-#{todo.target.state.dasherize}"
|
||||||
|
|
||||||
content_tag(:span, nil, class: klass) {
|
content_tag(:span, nil, class: klass) do
|
||||||
todo.target.state.capitalize
|
todo.target.state.capitalize
|
||||||
}
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def todos_filter_params
|
def todos_filter_params
|
||||||
|
|
Loading…
Reference in New Issue