Sha256: df00f2cbf863bb80d9260f72035368bc72fc1cfed06c45f8f63ba89512a98c54

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

h1= @controller_name.gsub('::', '/').camelize

== markup @document.docstring.to_s

- for action in actions(@document)
  h2
    a href="#{url_for(controller: 'mount_doc', action: 'action_doc', ctrl_id: @controller_name, id: action[:method].name)}"
      = action[:method].name
  ul.urls.unstyled
    - for route in action[:routes]
      li
        span.label.label-info= route[:method]
        |  
        = route[:path]
  == markup action[:method].docstring.summary.sub(/\.\Z/, '')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mount_doc-1.0.0 app/views/mount_doc/mount_doc/controller_doc.slim