feature/share-libs
rb 14 lines 268 Bytes
Raw
1 # frozen_string_literal: true
2
3 module Api
4 module V1
5 class GamelanController < ApiController
6
7 def detail
8 id = params[:id]
9 @notation = JavaneseGendingNotation.find(id)
10 render json: @notation.as_json_packed
11 end
12 end
13 end
14 end