summaryrefslogtreecommitdiff
path: root/lib/chef_server/views/cookbooks/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_server/views/cookbooks/show.html.haml')
-rw-r--r--lib/chef_server/views/cookbooks/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef_server/views/cookbooks/show.html.haml b/lib/chef_server/views/cookbooks/show.html.haml
index d97964f436..1b6557e012 100644
--- a/lib/chef_server/views/cookbooks/show.html.haml
+++ b/lib/chef_server/views/cookbooks/show.html.haml
@@ -9,16 +9,16 @@
- @cookbook.definition_files.each do |df|
%h2 Definition Files
%h3= File.basename(df)
- = Uv.parse(File.read(df), "xhtml", "ruby", true, "twilight")
+ = ::Uv.parse(File.read(df), "xhtml", "ruby", true, "twilight")
- if @cookbook.recipe_files.length > 0
- @cookbook.recipe_files.each do |rf|
%h2 Recipe Files
%h3= File.basename(rf)
- = Uv.parse(File.read(rf), "xhtml", "ruby", true, "twilight")
+ = ::Uv.parse(File.read(rf), "xhtml", "ruby", true, "twilight")
- if @cookbook.template_files.length > 0
- @cookbook.template_files.each do |tf|
%h2 Template Files
%h3= File.basename(tf)
- = Uv.parse(File.read(tf), "xhtml", "html_rails", true, "twilight")
+ = ::Uv.parse(File.read(tf), "xhtml", "html_rails", true, "twilight")