lib/doorkeeper/engine.rb in doorkeeper-2.2.1 vs lib/doorkeeper/engine.rb in doorkeeper-2.2.2
- old
+ new
@@ -3,10 +3,12 @@
initializer "doorkeeper.params.filter" do |app|
app.config.filter_parameters += [:client_secret, :code, :token]
end
initializer "doorkeeper.locales" do |app|
- app.config.i18n.fallbacks = [:en]
+ if app.config.i18n.fallbacks.blank?
+ app.config.i18n.fallbacks = [:en]
+ end
end
initializer "doorkeeper.routes" do
Doorkeeper::Rails::Routes.install!
end