Module: BootstrapEngineHelper

Defined in:
app/helpers/bootstrap_engine_helper.rb

Overview

RAILS BOOTSTRAP ENGINE

Copyright 2012-2013 Luiz Eduardo de Oliveira Fonseca, AgĂȘncia Orangeweb

Licensed under The MIT License

opensource.org/licenses/MIT

Instance Method Summary collapse

Instance Method Details

#application_brandObject

Describes the Application Brand Name



39
40
41
# File 'app/helpers/bootstrap_engine_helper.rb', line 39

def application_brand
	"Bootstrap Engine Helper"
end

Represents the Copyright Info



59
60
61
# File 'app/helpers/bootstrap_engine_helper.rb', line 59

def copyright_info
	 :p, link_to(raw("© #{vendor_brand} #{Date.today.year}"), vendor_url)
end

#page_title(title = "") ⇒ Object

Represents the Page title



49
50
51
# File 'app/helpers/bootstrap_engine_helper.rb', line 49

def page_title(title="")
	content_for :header_title do "#{title} | #{ application_brand }" end
end

#vendor_brandObject

Describes the Vendor Brand Name



20
21
22
# File 'app/helpers/bootstrap_engine_helper.rb', line 20

def vendor_brand
	"Minha Empresa"
end

#vendor_urlObject

Describes the Vendor Url



29
30
31
# File 'app/helpers/bootstrap_engine_helper.rb', line 29

def vendor_url
	'http://www.minhaempresa.com.br'
end