Skip to content

Commit

Permalink
first replacement (#2615)
Browse files Browse the repository at this point in the history
  • Loading branch information
grvsachdeva authored and jywarren committed Apr 16, 2018
1 parent 751fb0e commit ac3dce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def add_comment(params = {})
subject: '',
hostname: '',
comment: params[:body],
status: 0,
status: 1,
format: 1,
thread: thread,
timestamp: DateTime.now.to_i)
Expand Down
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
blog_post_community_tag = NodeTag.create! "tid"=>blog_post_tag.id,
"nid"=>blog_post.id, "uid"=>admin.id
blog_post_comment = Comment.create! "nid"=>blog_post.id, "uid"=>admin.id,
"subject"=>"", "comment"=>"Example Comment\r\n", "hostname"=>"", "status"=>0,
"subject"=>"", "comment"=>"Example Comment\r\n", "hostname"=>"", "status"=>1,
"format"=>1, "thread"=>"01/"

# Create 35 maps for the /maps sections
Expand Down

0 comments on commit ac3dce1

Please sign in to comment.