-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Description
When I tried to go through the steps in the example...
http://collectiveidea.com/blog/archives/2016/05/31/beyond-yml-files-dynamic-translations/
...my test kept failing. It appeared as if the TranslationsController was being ignored. The locale was never set, but the application views still loaded. After lots of trial and error, I came across this post:
https://stackoverflow.com/questions/16519828/rails-4-before-filter-vs-before-action
It looked as if the example was using a method that has now been removed from Rails. When I changed before_filter to before_action, everything worked. Could the example article be updated?
Metadata
Metadata
Assignees
Labels
No labels