fiedl/your_platform

View on GitHub
app/helpers/vue_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method vue_post_page has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def vue_post_page(post)
    content_tag :vue_post_page, "", {
      ':post': post.as_json.merge({
        author: post.author.as_json.merge({
          path: (polymorphic_path(post.author) if can?(:read, post.author))
Severity: Minor
Found in app/helpers/vue_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status