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.2.9 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.8 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.6 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.5 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.4 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.3 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.2 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.1 app/views/effective/resource/_actions.html.haml
effective_resources-1.2.0 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.5 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.4 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.3 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.2 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.1 app/views/effective/resource/_actions.html.haml
effective_resources-1.1.0 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.19 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.18 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.17 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.16 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.15 app/views/effective/resource/_actions.html.haml