Small fix of undefined on unslugify

stable
Jesús Espino 2014-07-28 18:04:31 +02:00
parent c9995aa52b
commit 16b96be579
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ slugify = (data) ->
unslugify = (data) -> unslugify = (data) ->
return _.str.capitalize(data.replace(/-/g, ' ')) if data
return _.str.capitalize(data.replace(/-/g, ' '))
return data
toggleText = (element, texts) -> toggleText = (element, texts) ->