Since this controller is a json only controller, you could put the `respond_to :json` part at the top of class, and here only write `respond_with @issues`.