-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActiveAdmin should not use #titleize to generate controllers #980
Comments
I figured out it's because I redefined
I believe ActiveAdmin also should not use titleize in its internals. |
+1. Working on an app with a I expect my translations to appear in the interface exactly as I've specified in the locale file, with no additional processing. And, as @tom-kuca mentioned, this can cause issues with non-English languages. |
I came across this Issue after getting fed up with a common frustration when using AA: very few non-alphanumeric characters can be used anywhere on the site because of the way it formats strings. Doing a quick search through the source code, I would submit a bug fix to allow a configuration option in My thoughts are to define a custom string formatting method inside AA, which can easily be overridden if you require special formatting on your site. |
Fixed by #1484 |
generates controller named
ProducttypesController
, expected controller name isProductTypesController
(note T is uppercase). I run into this when upgrading from 0.3.2 to 0.4.0The text was updated successfully, but these errors were encountered: