app/helpers/global_helpers.rb in chef-server-webui-0.8.16 vs app/helpers/global_helpers.rb in chef-server-webui-0.9.0.a3

- old
+ new

@@ -14,22 +14,26 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -module Merb - module ChefServerWebui +# Possibly Dead Code. To revive it, move the GlobalHelpers module into the +# Merb namespace - module GlobalHelpers - # helpers defined here available to all views. - def resource_collection(collection) - html = "<ul>" - collection.each do |resource| - html << "<li><b>#{resource.class}</b></li>" - end - html << "</ul>" - html - end - - end - end -end +# module Merb +# module ChefServerWebui +# +# module GlobalHelpers +# # helpers defined here available to all views. +# def resource_collection(collection) +# html = "<ul>" +# collection.each do |resource| +# html << "<li><b>#{resource.class}</b></li>" +# end +# html << "</ul>" +# html +# end +# +# end +# end +# end +# \ No newline at end of file