Refactor NodesController#hit to use send

We don't have to enumerate all actions as separate cases. Aggregate it into one and use send.