Sha256: eebe8f4f85ac75b23c1a9975d6c483765f600bd3a16d2f7f83e36f21a6a3d9ab

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dorsale-1.0.4 app/helpers/dorsale/comments_helper.rb
dorsale-1.0.3 app/helpers/dorsale/comments_helper.rb