Skip to content

Commit 9c680a0

Browse files
committedDec 12, 2015
Add post_id to required_fields
1 parent 223114d commit 9c680a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎web/models/comment.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule BlogPhoenix.Comment do
99
timestamps
1010
end
1111

12-
@required_fields ~w(name content)
12+
@required_fields ~w(name content post_id)
1313
@optional_fields ~w()
1414

1515
@doc """

0 commit comments

Comments
 (0)