Skip to content

Commit 4d2e91e

Browse files
author
Olivier Bonnaure
committed
fix: controller action in production mode
1 parent 546e120 commit 4d2e91e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.lua/luaonbeans.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,7 @@ function HandleRequest()
300300
end
301301

302302
function HandleController(controller)
303-
if BeansEnv == "production" then
304-
return controller
305-
else
306-
return controller[Params.action]()
307-
end
303+
return controller[Params.action]()
308304
end
309305

310306
function GetBodyParams()

0 commit comments

Comments
 (0)