This commit is contained in:
r888888888
2014-02-28 18:10:36 -08:00
parent b523ed471c
commit 0ef37c0538
3 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,8 @@
module ApplicationHelper
def wordbreakify(string)
raw(string.gsub(/(.{10})/, "\\1<wbr>"))
end
def nav_link_to(text, url, options = nil)
if nav_link_match(params[:controller], url)
klass = "current"