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.5.2 app/views/effective/resource/_actions.html.haml
effective_resources-1.5.1 app/views/effective/resource/_actions.html.haml
effective_resources-1.5.0 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.13 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.12 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.11 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.10 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.9 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.8 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.7 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.6 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.5 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.4 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.3 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.2 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.1 app/views/effective/resource/_actions.html.haml
effective_resources-1.4.0 app/views/effective/resource/_actions.html.haml
effective_resources-1.3.16 app/views/effective/resource/_actions.html.haml
effective_resources-1.3.15 app/views/effective/resource/_actions.html.haml
effective_resources-1.3.14 app/views/effective/resource/_actions.html.haml