Sha256: 7a63acb66a617a8687adb957f056a5d38936904ddeb9b5e2d0ded2e284487572

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

.controller
  .resource
    %a{ href: 'javascript:void(0);' }= controller.path
    %span= " : #{controller.label}"
    %span.visibility= format_visibility(controller)
    .clear
  .actions.hidden
    - controller.actions.each do |action|
      - if visible?(action)
        = haml :action, locals: { action: action, tag: controller.tag }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cabbage_doc-0.1.4 web/views/controller.haml
cabbage_doc-0.1.3 web/views/controller.haml
cabbage_doc-0.1.2 web/views/controller.haml
cabbage_doc-0.1.1 web/views/controller.haml
cabbage_doc-0.1.0 web/views/controller.haml
cabbage_doc-0.0.9 web/views/controller.haml
cabbage_doc-0.0.8 web/views/controller.haml