Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add reload lang after a delete lang

  • Loading branch information...
commit d7cf0ae32195fc99fadf513ddc951dd1960fd21e 1 parent 9bb6b7e
@mihawk mihawk authored
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) ->
Please sign in to comment.
Something went wrong with that request. Please try again.