* Missing files
* Work on post exploration code by traversing dates
This commit is contained in:
@@ -15,8 +15,6 @@ class CommentsController < ApplicationController
|
||||
def create
|
||||
@comment = Comment.new(params[:comment])
|
||||
@comment.post_id = params[:comment][:post_id]
|
||||
@comment.creator_id = CurrentUser.user.id
|
||||
@comment.ip_addr = request.remote_ip
|
||||
@comment.score = 0
|
||||
@comment.save
|
||||
respond_with(@comment) do |format|
|
||||
|
||||
Reference in New Issue
Block a user