generate action from current url when action is missing in the context