Allow setting of default language through config
Setting of locale in controller extracted to Localized concern, the doorkeeper authorized applications controller moved under custom namespace with inclusion of Localized, which resolves the "it sometimes appears in a different random language" bug
Showing
- .env.production.sample 3 additions, 0 deletions.env.production.sample
- app/controllers/application_controller.rb 2 additions, 7 deletionsapp/controllers/application_controller.rb
- app/controllers/concerns/localized.rb 19 additions, 0 deletionsapp/controllers/concerns/localized.rb
- app/controllers/oauth/authorizations_controller.rb 2 additions, 7 deletionsapp/controllers/oauth/authorizations_controller.rb
- app/controllers/oauth/authorized_applications_controller.rb 16 additions, 0 deletionsapp/controllers/oauth/authorized_applications_controller.rb
- app/views/oauth/authorized_applications/index.html.haml 0 additions, 0 deletionsapp/views/oauth/authorized_applications/index.html.haml
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
Loading
Please register or sign in to comment