Sha256: f5f680594608464b0cca98687d5d45c3cb0ff024e548089e7a8136fcba412dab

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

class OrganizationProjectsCell < Cell::Rails
  helper ApplicationHelper

  def show(organization:)
    @organization = organization
    @project_count = organization.projects.count
    @projects = organization.projects.limit(10)

    render
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 test/dummy_app/app/cells/organization_projects_cell.rb