Controller   = window.require 'spine/controller'
Activateable = window.require 'spine/controller/activateable'
class Breadcrumb extends Controller
	@include Activateable
	tag:'a'
	events:
		'click':'click'

	render: =>
		@$addClass(@panel.title.toLowerCase()).html(@panel.title)
		@

	click: ->
		@$trigger 'Breadcrumb:step', @panel.title.toLowerCase()

	
module.exports = Breadcrumb