infusionvlc/infusion

View on GitHub
app/controllers/proposals_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [21/20]
Open

  def create
    @proposal = Proposal.new(proposal_params)
    @proposal.user = current_user
    authorize @proposal
    respond_to do |format|

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Line is too long. [99/80]
Open

    redirect_back(fallback_location: proposal_path(@proposal), alert: 'Tu voto ha sido registrado')

There are no issues that match your filters.

Category
Status