Skip to content

Commit

Permalink
let's try this!
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Aug 29, 2016
1 parent 0c2a4b3 commit 4739303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/Posts.moon
Expand Up @@ -12,6 +12,6 @@ class Posts extends Model
title: (value) =>
if not value or value\len! < 1
return "Must have a title."
if Posts\find title: value
return "A post with that title has already been created."
--if Posts\find title: value
-- return "A post with that title has already been created."
}

0 comments on commit 4739303

Please sign in to comment.