Sha256: f6c6889a4baf40114c4acd5d2f70bb7d3de8efa65eae42b1a2955dad7af69b92

Contents?: true

Size: 286 Bytes

Versions: 224

Compression:

Stored size: 286 Bytes

Contents

- permitted_resource_actions(resource, actions).each do |label, opts|
  - action = opts.delete(:action)
  = link_to(label, (effective_resource.action_path(action, resource) || '#'), opts)

= instance_exec(resource, &format_block) if local_assigns[:format_block]
= yield if block_given?

Version data entries

224 entries across 224 versions & 1 rubygems

Version Path
effective_resources-2.19.10 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.9 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.8 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.7 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.6 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.5 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.4 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.3 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.2 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.1 app/views/effective/resource/_actions.html.haml
effective_resources-2.19.0 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.5 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.4 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.3 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.2 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.1 app/views/effective/resource/_actions.html.haml
effective_resources-2.18.0 app/views/effective/resource/_actions.html.haml
effective_resources-2.17.5 app/views/effective/resource/_actions.html.haml
effective_resources-2.17.4 app/views/effective/resource/_actions.html.haml
effective_resources-2.17.3 app/views/effective/resource/_actions.html.haml