=begin rdoc
	Author:: Ana Kovatcheva. 2005
	© Copyright:: iCookWare Team 2005  
=end

# The methods added to this helper will be available to all templates in the application.
module ApplicationHelper

#add  active controller css body id tag in template for layout like <body id="settings">
	def bodytag_id
	  a = controller.class.to_s.underscore.gsub(/_controller$/, '')
	  #b = controller.action_name.underscore
	  #"#{a}-#{b}".gsub(/_/, '-')
		"#{a}".gsub(/_/, '-')
	end
	
end
