app/helpers/application_helper.rb in chef-server-webui-0.9.8 vs app/helpers/application_helper.rb in chef-server-webui-0.9.10.rc.0
- old
+ new
@@ -1,6 +1,12 @@
require 'chef/mixin/deep_merge'
+require 'chef-server-webui/version'
module Merb
module ApplicationHelper
+
+ def chef_version
+ ::ChefServerWebui::VERSION
+ end
+
end
end