I have a table-plus view, with a controller
def index
hobo_index current_user.events
end
If the user has no events, the page gives an error:
wrong model name: "" (extracted from translation key:
".collection.empty_message"). You might want to use the translate/t tag/method
instead.
If the default index controller is used, and there are no events, the
table-plus renders "No events to display". What is causing this? I don't
know how to use the t tag inside the table-plus.
--
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.