The standard Praxis document generator create a menu on the left side of the window with as many resources as there are.
However, the name given to the resources is exactly the class name.
I've seen that I can customize the standard name with the display_name class method, that's rigth, but this statement is not reflected in the H1.page-header of the documentation.
Let's say that I set:
class V1::Resources::BusinessUnit
include Praxis::ResourceDefinition
# italian for BusinessUnit: BTW, is there a "Praxis way" to localize documentation and things like this?
display_name 'Strutture'
...
end
On the menu I correctly see "Strutture" as menu item, but if I clic on it, the header of the landing page is titled "BusinessUnit".
The header then returns correctly "Strutture" if I click on an action.
It's like the header value of the main resource page does not read the value from display_value...
Any ideas?
Thank you,
--
Andrea Salicetti
--
You received this message because you are subscribed to the Google Groups "praxis-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to praxis-suppor...@googlegroups.com.
To post to this group, send email to praxis-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/praxis-support/06506ce9-ea55-42e8-8211-d0ffefc0241a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.