It's defined in Hobo::Helper (in lib/hobo/helper.rb in the gem). You should be able to redefine it in an initializer:
module Hobo
module Helper
def app_name(add_subsite=true)
# do something here
# the default app name is accessible as Rails.application.config.hobo.app_name
# the current subsite's name is available as subsite
end
end
end
--Matt Jones
The only thing we've done is defined
<def tag="app-name">foo</def>
in admin_site.dryml
Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/ZnIW10v0zk0J.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>