From 2e9c4b3df91689ff3ae1cd9a43be20ce4ad1153b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 4 Apr 2014 11:59:38 -0300 Subject: [PATCH] Add CHANGELOG entry for #1023 --- CHANGELOG.md | 1 + lib/simple_form/inputs/base.rb | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d74417ff..94fbe77a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ * `label_text` proc now receive three arguments (label, request, and if the label was explicit). [@timscott](https://github.com/timscott) * Add I18n support to `:include_blank` and `:prompt` when `:translate` is used as value. [@haines](https://github.com/plataformatec/simple_form/pull/616) * Add support to define custom error messages for the attributes. + * Add support to change the I18n scope to be used in Simple Form. [@nielsbuus](https://github.com/nielsbuus) ### bug fix * Collection input that uses automatic collection translation properly sets checked values. diff --git a/lib/simple_form/inputs/base.rb b/lib/simple_form/inputs/base.rb index 79f41acd..3d8933ab 100644 --- a/lib/simple_form/inputs/base.rb +++ b/lib/simple_form/inputs/base.rb @@ -200,7 +200,6 @@ module SimpleForm def i18n_scope SimpleForm.i18n_scope end - end end end