Skip to content

Commit

Permalink
use response helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Kabiru committed Jan 10, 2018
1 parent 6caa204 commit 5bd5f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/v2/todos_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class V2::TodosController < ApplicationController
def index
render json: { message: 'Hello there'}
json_response({ message: 'Hello there'})
end
end

0 comments on commit 5bd5f76

Please sign in to comment.