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-3.0.3 app/helpers/dorsale/comments_helper.rb
dorsale-3.0.2 app/helpers/dorsale/comments_helper.rb
dorsale-3.0.1 app/helpers/dorsale/comments_helper.rb
dorsale-3.0.0 app/helpers/dorsale/comments_helper.rb
dorsale-2.7.3 app/helpers/dorsale/comments_helper.rb
dorsale-2.7.2 app/helpers/dorsale/comments_helper.rb
dorsale-2.7.1 app/helpers/dorsale/comments_helper.rb
dorsale-2.7.0 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.8 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.7 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.6 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.5 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.4 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.3 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.2 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.1 app/helpers/dorsale/comments_helper.rb
dorsale-2.6.0 app/helpers/dorsale/comments_helper.rb
dorsale-2.5.0 app/helpers/dorsale/comments_helper.rb
dorsale-2.4.3 app/helpers/dorsale/comments_helper.rb
dorsale-2.4.2 app/helpers/dorsale/comments_helper.rb