Sha256: c12a18897f7bb289e2552b1bf0b4f2d6fd4b4d46aebcbbf6736cf07a1940b8be

Contents?: true

Size: 326 Bytes

Versions: 6

Compression:

Stored size: 326 Bytes

Contents

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

= instance_exec(resource, &format_block) if local_assigns[:format_block]
= yield(resource) 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_glyphicons.html.haml
effective_resources-1.0.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.0.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.0.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-0.10.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-0.10.0 app/views/effective/resource/_actions_glyphicons.html.haml