Code Review

This is controller code and should go in a `app/controllers/concerns` and be included in controllers or should be defined in ApplicationController.

Also, I'm not sure these really warrant their own helpers.  It doesn't seem much different to just type the `render` line vs. the method name.