Sha256: 57c2fe5e80275c24bb757caaf804a4a3dae65f6f6048941d9d6b2b2d73511d0a

Contents?: true

Size: 389 Bytes

Versions: 4

Compression:

Stored size: 389 Bytes

Contents

div[href=(model.to_s + '.response') style="--row-count: 3"]
  - repo.map[model][:actions].each do |action|
    // TODO: Nest table in this div for easier jq toggling
    // add borders to this div
    div.request-action-title #{repo.action_route(model, action)}
    - if data = repo.load_template(model, action)
      = render 'shared/response_table', locals: { model: model, rows: data }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_api_documentation-0.1.3 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.2 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.1 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.0 app/views/rails_api_doc/api_docs/_response_api_table.slim