截至 2012-08-21 17:52:50 +0800,共收到 2 條回應
MarioDu
1樓, 於2012-08-14 18:40:43 +0800回應
这个我做过类似的,你重载它的关于Home内容的方法。
在Helper里重载
module BootstrapHelper
module Breadcrumb
module InstanceMethods
protected
def set_breadcrumbs
@breadcrumbs = ["<a href='/'><i class = 'icon-home'></i>这里改成中文的你想要的</a>".html_safe]
end
end
end
end
我是这么做到,你试试。
stephen
2樓, 於2012-08-21 17:52:50 +0800回應
谢谢!