app/views/workarea/api/docs/nav.haml in workarea-api-4.4.7 vs app/views/workarea/api/docs/nav.haml in workarea-api-4.5.0

- old
+ new

@@ -1,5 +1,17 @@ +- global = index.resources.find { |r| r.name == 'Global Functionality' } + +- unless global.blank? + %strong.nav__heading= global.name + %nav.nav + %ul.nav__list + - global.examples.each do |example| + %li.nav__item + = link_to example.description, "/#{example.href}" + - index.resources.each do |resource| + - next if !global.blank? && resource.name == 'Global Functionality' + %strong.nav__heading= resource.name %nav.nav %ul.nav__list - resource.examples.each do |example| %li.nav__item