lib/pah/partials/_locale.rb in pah-0.0.13 vs lib/pah/partials/_locale.rb in pah-0.0.14

- old
+ new

@@ -7,22 +7,18 @@ time_zone_config = <<TIME_ZONE config.time_zone = 'Brasilia' TIME_ZONE -in_root do - inject_into_file 'config/application.rb', time_zone_config, { after: "# config.time_zone = 'Central Time (US & Canada)'", verbose: false } -end +inject_into_file 'config/application.rb', time_zone_config, { after: "# config.time_zone = 'Central Time (US & Canada)'", verbose: false } locale_config = <<LOCALE config.i18n.enforce_available_locales = true config.i18n.default_locale = :"pt-BR" config.i18n.locale = :"pt-BR" LOCALE -in_root do - inject_into_file 'config/application.rb', locale_config, { after: "# config.i18n.default_locale = :de", verbose: false } -end +inject_into_file 'config/application.rb', locale_config, { after: "# config.i18n.default_locale = :de", verbose: false } git add: 'config/application.rb' git_commit 'Add locale config.'