Sha256: 7d680aec63cb48b4b113ec988c0eb4f46dc763f7ed8d4c8385a13a1f970d2dd3

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

- permitted_resource_actions(resource, actions, effective_resource).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

6 entries across 6 versions & 1 rubygems

Version Path
effective_resources-1.0.3 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.2 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.1 app/views/effective/resource/_actions.html.haml
effective_resources-1.0.0 app/views/effective/resource/_actions.html.haml
effective_resources-0.10.1 app/views/effective/resource/_actions.html.haml
effective_resources-0.10.0 app/views/effective/resource/_actions.html.haml