vinsol/spree-point-of-sale

View on GitHub
app/controllers/spree/admin/pos_controller.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class PosController has 28 methods (exceeds 20 allowed). Consider refactoring.
Open

class Spree::Admin::PosController < Spree::Admin::BaseController
  before_action :load_order, :ensure_pos_order, :ensure_unpaid_order, except: :new
  helper_method :user_stock_locations
  before_action :load_variant, only: [:add, :remove]
  before_action :ensure_active_store
Severity: Minor
Found in app/controllers/spree/admin/pos_controller.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status