consul/consul

View on GitHub
app/components/admin/tenants/edit_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Admin::Tenants::EditComponent < ApplicationComponent
  include Header
  attr_reader :tenant

  def initialize(tenant)
    @tenant = tenant
  end

  def title
    tenant.name
  end
end