This commit is contained in:
Albert Yi
2018-11-02 13:40:01 -07:00
parent 542641e3e2
commit e360058aca
3 changed files with 10 additions and 6 deletions

View File

@@ -7,6 +7,10 @@ module ApplicationHelper
raw(wordbreaked_string)
end
def pro_fontawesome_enabled?
request.domain =~ /donmai\.us/
end
def nav_link_to(text, url, **options)
klass = options.delete(:class)