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.2.3 app/helpers/dorsale/comments_helper.rb
dorsale-2.2.2 app/helpers/dorsale/comments_helper.rb
dorsale-2.2.1 app/helpers/dorsale/comments_helper.rb
dorsale-2.2.0 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.15 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.14 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.13 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.12 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.11 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.10 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.9 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.8 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.7 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.6 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.5 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.4 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.3 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.2 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.1 app/helpers/dorsale/comments_helper.rb
dorsale-2.1.0 app/helpers/dorsale/comments_helper.rb