lib/sinatra/docs/operation.haml in sinatra-rabbit-1.1.3 vs lib/sinatra/docs/operation.haml in sinatra-rabbit-1.1.4

- old
+ new

@@ -5,11 +5,11 @@ %ul.breadcrumb.well{:style=>'margin-bottom:0;'} %li %a{ :href => url('/docs') } Documentation %span.divider='/' %li - %a{ :href => url(collection.docs_url)}=collection.collection_name.to_s.split('_').map {|p| p.capitalize}.join(' ') + %a{ :href => url(collection.docs_url)}=collection.collection_name.to_s.split('_').map {|p| p.capitalize }.join(' ') %span.divider='/' %li.active=operation.operation_name.to_s.capitalize .container %h1.pull-right=operation.operation_name %blockquote.clearfix @@ -41,10 +41,10 @@ - (operation.params + operation.features_params).each do |p| %tr %td %em=p.name ="<sup style='color:red;'>*</sup>" if p.required? - %td=p.klass.capitalize + %td=p.klass.to_s.capitalize %td=p.values %td %small=p.description %tfoot %tr