anthonymidili/Bullhorn

View on GitHub
app/controllers/reposts_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def create
    @post = current_user.posts.build
    @repost = @post.build_repost(user: current_user, reposted: @reposting)
    respond_to do |format|
      if @post.save
Severity: Minor
Found in app/controllers/reposts_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status