Created
April 6, 2018 03:23
-
-
Save nmcolome/20d23f1ca49a8fcaf416a674dfd9593f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Api::V1::ProfitAndLossController < ApplicationController | |
def index | |
render json: Sale.get_profit_and_loss, each_serializer: ProfitAndLossSerializer | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment