luci-base: dispatcher.lua: factor out language check into own function
authorJo-Philipp Wich <jo@mein.io>
Wed, 4 Dec 2019 18:00:27 +0000 (19:00 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commitbe5116814e4c85bbbeef9aac3e2ea9968bb8bf20
tree8092f4e7b5199d28b2620f3c5339c060a9814dc2
parent0f6af6e00da8c5edee69333bb83db6c711183a80
luci-base: dispatcher.lua: factor out language check into own function

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a6b214f87332471b8210d05b02ae59ea6b0c16b7)
modules/luci-base/luasrc/dispatcher.lua