diff options
author | Arthur Gautier <superbaloo+registrations.github@superbaloo.net> | 2012-07-09 20:49:59 +0300 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-08-03 11:57:55 -0700 |
commit | 9c9842dc0b339efd8dca62485fe5b4408592c5e3 (patch) | |
tree | 2e30a5cec403e1b2311decf9391fffdef1979dd0 /chef-server-webui | |
parent | cb141217d977afe74d0bda4ffec8e4aff80f28e8 (diff) | |
download | chef-9c9842dc0b339efd8dca62485fe5b4408592c5e3.tar.gz |
Make it fallback to plainfile
Diffstat (limited to 'chef-server-webui')
-rw-r--r-- | chef-server-webui/app/controllers/cookbooks.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chef-server-webui/app/controllers/cookbooks.rb b/chef-server-webui/app/controllers/cookbooks.rb index 499084cbde..1c915241da 100644 --- a/chef-server-webui/app/controllers/cookbooks.rb +++ b/chef-server-webui/app/controllers/cookbooks.rb @@ -155,6 +155,7 @@ class Cookbooks < Application syntax_highlight(url) rescue Chef::Log.error("Error while parsing file #{url}") + show_plain_file(url) end end end |