Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

app_name does not generate correct name for non-admin subsites #103

Open hbaragar opened 10 years ago

hbaragar commented 10 years ago

"admin" is hardcoded in the the app_name definition in hobo_rapid-2.1.1/app/helpers/hobo_rapid_helper.rb on the line:

subsite_name = t "hobo.#{subsite}.subsite_name", :default => subsite.titleize

It should be:

subsite_name = t "hobo.#{subsite}.subsite_name", :default => subsite.titleize
iox commented 10 years ago

Hi Henry,

I can't find the difference between the two lines, maybe a typo?

hbaragar commented 10 years ago

Aghhh... I showed the revised line in both cases. The line that needs to be fixed is as follows:

subsite_name = t "hobo.admin.subsite_name", :default => subsite.titleize
iox commented 10 years ago

Ok, thanks.