Sha256: 4852dd92b4566815dacc7b8a2b3d2962dd39261b47e5365d001f3926f8c0980b

Contents?: true

Size: 220 Bytes

Versions: 223

Compression:

Stored size: 220 Bytes

Contents

json.data do
  json.array! @roles do |d|
    json.id d.id
    json.name d.name
    json.permissions d.permissions.select("distinct clazz").map{|d| d.clazz}.join("、")
  end
end

json.code 0
json.count @roles.total_count

Version data entries

223 entries across 223 versions & 1 rubygems

Version Path
educode_sales-1.10.26 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.25 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.24 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.23 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.22 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.21 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.20 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.19 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.18 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.17 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.16 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/roles/index.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/roles/index.json.jbuilder