On Nov 3, 2011, at 9:24 PM, [email protected] wrote:
> I made a subsite that is not an admin subsite and I would like to
> remove the "- Admin" that gets added to the main site name to make the
> page titles for the subsite.
>
> I have searched all through the app source but cannot find where it is
> defined.
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
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.