Open marjinal1st opened 10 years ago
In this template, there is a name error occurring when you use a double word scaffold name. (Example; StaticPage)
It's because of the line "singular_table_name.capitalize". It's working correctly when "singular_table_name.classify" is used.
Example StaticPage scaffold => It's using "Static_page.model_name.human" in the template and works if you use "StaticPage.model_name.human"
Confirmed by @hamitturkukaya
In this template, there is a name error occurring when you use a double word scaffold name. (Example; StaticPage)
It's because of the line "singular_table_name.capitalize". It's working correctly when "singular_table_name.classify" is used.
Example StaticPage scaffold => It's using "Static_page.model_name.human" in the template and works if you use "StaticPage.model_name.human"
Confirmed by @hamitturkukaya