lib/sinatra/docs/collection.haml in sinatra-rabbit-1.1.2 vs lib/sinatra/docs/collection.haml in sinatra-rabbit-1.1.3

- old
+ new

@@ -18,14 +18,14 @@ %thead %tr %th Name %th Constraints %th Description - %tbody + %tbody.features - collection.features.each do |f| %tr - %td + %td.feature %em=f.name %td - f.constraints.each do |c, v| ="#{c}=#{v}<br/>" %td @@ -48,10 +48,10 @@ %tr %th Name %th HTTP method %th URL %th Description - %tbody + %tbody.operations - collection.operations.each do |o| %tr %td %a{:href => url(o.docs_url) }=o.operation_name %td=o.http_method.to_s.upcase