Sha256: ec43baef9c3fd59d20526c07fb9ce2b3bc60df127e6c81f43c333e47b85376e1

Contents?: true

Size: 187 Bytes

Versions: 1

Compression:

Stored size: 187 Bytes

Contents

class UserProjectsCell < Cell::Rails
  helper ApplicationHelper

  def show(user:)
    @project_count = user.projects.count
    @projects = user.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/user_projects_cell.rb