Flowdock
method

create

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: CommentsController
create() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/guides/code/getting_started/app/controllers/comments_controller.rb, line 3
  def create
    @post = Post.find(params[:post_id])
    @comment = @post.comments.create(params[:comment])
    redirect_to post_path(@post)
  end
Register or log in to add new notes.