[#1078] move before_view plugin from dictize to action, feels more consistent