Sha256: f99acb1ee0621438f33f09a3ba10d6a5e1121aed5662fe6bc23f766fdc60be01

Contents?: true

Size: 306 Bytes

Versions: 71

Compression:

Stored size: 306 Bytes

Contents

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

71 entries across 71 versions & 1 rubygems

Version Path
effective_resources-1.5.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.5.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.5.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.13 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.12 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.11 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.10 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.9 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.8 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.7 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.6 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.5 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.4 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.3 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.2 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.1 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.4.0 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.3.16 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.3.15 app/views/effective/resource/_actions_glyphicons.html.haml
effective_resources-1.3.14 app/views/effective/resource/_actions_glyphicons.html.haml