Sha256: 9a492b1e3fce132409afeb0caed6f853b3bfd0dd4959123843c223930423ef64

Contents?: true

Size: 327 Bytes

Versions: 224

Compression:

Stored size: 327 Bytes

Contents

- permitted_resource_actions(resource, actions).each do |label, opts|
  - action = opts.delete(:action)
  - opts.delete(:class)

  = glyphicon_to(action, (effective_resource.action_path(action, resource) || '#'), opts)

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

Version data entries

224 entries across 224 versions & 1 rubygems

Version Path
effective_resources-2.19.10 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.9 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.8 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.7 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.6 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.3 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.19.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.3 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.18.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.17.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.17.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-2.17.3 app/views/effective/resource/_actions_glyphicons.html.haml