Homies and money moves
This commit is contained in:
5
app/models/concerns/json_response.rb
Normal file
5
app/models/concerns/json_response.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
module Response
|
||||
def json_response(object, status = :ok)
|
||||
render json: object, status: status
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user