webmcp

changeset 496:3b4dbabca31f

Bugfix in request.handler(...) for allowing actions to directly return content
author jbe
date Sun Jul 02 04:22:20 2017 +0200 (15 months ago)
parents 7eec5b604b00
children d89813dd4d92
files framework/env/request/handler.lua
line diff
     1.1 --- a/framework/env/request/handler.lua	Fri Jun 30 17:01:04 2017 +0200
     1.2 +++ b/framework/env/request/handler.lua	Sun Jul 02 04:22:20 2017 +0200
     1.3 @@ -201,7 +201,7 @@
     1.4          end
     1.5        end
     1.6  
     1.7 -      if not request.get_redirect_data() then
     1.8 +      if not (request.get_redirect_data() or slot.layout_is_set()) then
     1.9          request.process_forward()
    1.10          local view = request.get_view()
    1.11          if string.find(view, "^_") then

Impressum / About Us