omegainteractive/comfypress

View on GitHub
lib/comfypress/routing.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method admin has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.admin(options = {})
    options[:path] ||= 'cms-admin'
    
    Rails.application.routes.draw do
      namespace :cms_admin, :path => options[:path], :except => :show do
Severity: Minor
Found in lib/comfypress/routing.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status