Skip to content
Browse files

add reload lang after a delete lang

  • Loading branch information...
1 parent 9bb6b7e commit d7cf0ae32195fc99fadf513ddc951dd1960fd21e @mihawk mihawk committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/controller/cb_admin_lang_controller.erl
View
1 src/controller/cb_admin_lang_controller.erl
@@ -73,6 +73,7 @@ delete('GET', [App, Lang], Auth) ->
delete('POST', [App, Lang], Auth) ->
AppAtom = list_to_atom(App),
boss_lang:delete_lang(AppAtom, Lang),
+ boss_web:reload_translation(Lang),
{redirect, [{action, "show"}]}.
big_red_button('GET', [App], Auth) ->

0 comments on commit d7cf0ae

Please sign in to comment.
Something went wrong with that request. Please try again.