Sha256: 81d7b45f2f763f6ebfe33e3654d9e66bb969eba79feee766f801db0993751f45

Contents?: true

Size: 436 Bytes

Versions: 61

Compression:

Stored size: 436 Bytes

Contents

module Dorsale
  module CommentsHelper
    def comment_form_for(commentable)
      render partial: "dorsale/comments/form", locals: {commentable: commentable}
    end

    def comments_list_for(commentable)
      render partial: "dorsale/comments/list", locals: {commentable: commentable}
    end

    def comments_for(commentable)
      render partial: "dorsale/comments/comments", locals: {commentable: commentable}
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
dorsale-2.0.1 app/helpers/dorsale/comments_helper.rb