Sha256: 33cca2f151d266a43000406f0153fc94df6553b7261ed43b66a1ccc1c974e103

Contents?: true

Size: 275 Bytes

Versions: 71

Compression:

Stored size: 275 Bytes

Contents

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

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

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
effective_resources-1.0.14 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.13 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.12 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.11 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.10 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.9 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.8 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.7 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.6 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.5 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.4 app/views/effective/resource/_actions.html.haml