]> cat aescling's git repositories - mastodon.git/commit
Allow setting of default language through config
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 7 Apr 2017 10:40:26 +0000 (12:40 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 7 Apr 2017 10:40:26 +0000 (12:40 +0200)
commite3a3422a65901c71ec3ff4a2729309c441660d63
treed992cec0c566046fd28d0d4f3d0c17e310b540f4
parent624a9a7136159d460228a0c2f5df18a9ead3b7f2
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
.env.production.sample
app/controllers/application_controller.rb
app/controllers/concerns/localized.rb [new file with mode: 0644]
app/controllers/oauth/authorizations_controller.rb
app/controllers/oauth/authorized_applications_controller.rb [new file with mode: 0644]
app/views/oauth/authorized_applications/index.html.haml [moved from app/views/doorkeeper/authorized_applications/index.html.haml with 100% similarity]
config/routes.rb