We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e253a6 commit ddfda8cCopy full SHA for ddfda8c
lib/mobility/backends/table.rb
@@ -85,7 +85,8 @@ module Table
85
# @!group Backend Accessors
86
# @!macro backend_reader
87
def read(locale, **options)
88
- translation_for(locale, **options).send(attribute)
+ translation = translations.in_locale(locale)
89
+ translation.send(attribute) if translation
90
end
91
92
# @!macro backend_writer
0 commit comments