hello,
i’ve got the STI-hierarchy Dictionary, InternalDictionary < Dictionary
and OnlineDictionary < Dictionary.
Every submodel has its own controller. E.g. InternalDictionary is
handled by
Voc::InternalDictionaryController. As you see everything works inside
the namespace Voc (except the models).
In an index.html.erb of a controller i walk through all types of
dictionaries:
<% for dictionary in @dictionaries %>
This leads to the path “voc_internal_dictionary” for objecs of type
InternalDictionary and to “voc_online_dictionary” for objects of type
OnlineDictionary. So far so good.
But I want to call the method “edit” or a methodname completely
different from the CRUD-names.I’d need something like
I tried:
Any ideas?
Thanks a lot
Lutz