Sha256: 2411355969bed143cfce63044ccc1aecaf4b9048c864d4265ebe8e66737c215b

Contents?: true

Size: 266 Bytes

Versions: 32

Compression:

Stored size: 266 Bytes

Contents

- if url && url != request.path && policy(obj).read?
  = read_button(url)

- if edit_url && edit_url != request.path && policy(obj).update?
  = update_button(edit_url)

- if delete_url && policy(obj).delete? && request.path == edit_url
  = delete_button(delete_url)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
dorsale-3.13.0 app/views/dorsale/_actions.html.slim
dorsale-3.12.0 app/views/dorsale/_actions.html.slim
dorsale-3.11.0 app/views/dorsale/_actions.html.slim
dorsale-3.10.3 app/views/dorsale/_actions.html.slim
dorsale-3.10.2 app/views/dorsale/_actions.html.slim
dorsale-3.10.1 app/views/dorsale/_actions.html.slim
dorsale-3.10.0 app/views/dorsale/_actions.html.slim
dorsale-3.9.8 app/views/dorsale/_actions.html.slim
dorsale-3.9.7 app/views/dorsale/_actions.html.slim
dorsale-3.9.6 app/views/dorsale/_actions.html.slim
dorsale-3.9.5 app/views/dorsale/_actions.html.slim
dorsale-3.9.4 app/views/dorsale/_actions.html.slim