sinatra-rabbit 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sinatra/docs/collection.haml +11 -0
- data/sinatra-rabbit.gemspec +1 -1
- metadata +1 -1
@@ -31,6 +31,17 @@
|
|
31
31
|
%td
|
32
32
|
%small=f.description
|
33
33
|
|
34
|
+
- if !collection.collections.empty?
|
35
|
+
%h3 Sub-Collections
|
36
|
+
%table.table.table-bordered
|
37
|
+
%tbody
|
38
|
+
- collection.collections.each do |c|
|
39
|
+
%tr
|
40
|
+
%td
|
41
|
+
%a{ :href => url(c.docs_url)}=c.collection_name
|
42
|
+
%td
|
43
|
+
%small=c.description || '%s subcollection of %s' % [ c.collection_name.to_s.capitalize, collection.collection_name]
|
44
|
+
|
34
45
|
%h3 Operations
|
35
46
|
%table.table.table-bordered
|
36
47
|
%thead
|
data/sinatra-rabbit.gemspec
CHANGED