mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
* Use Accept-Language for unauthenticated locale * Add per-user locale overrides * Fix test * Use more than the top `accept-language` entry * Localization of string
7 lines
173 B
Ruby
7 lines
173 B
Ruby
class AddLocaleToUsers < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :users, :locale, :string, null: true, default: nil
|
|
add_index :users, :locale
|
|
end
|
|
end
|