(Evgeny) #1

I saw the following subject: Just how bad is it to have 750 categories

Looked code. Is it enough to make changes to the following items?

app/models/user_option.rb

``````def homepage
case homepage_id
when 1 then "latest"
when 2 then "categories"
`const USER_HOMES = { 1: "latest", 2: "categories", 3: "unread", 4: "new", 5: "top" };`