foodsoft/app/controllers/api/v1/configs_controller.rb

8 lines
160 B
Ruby
Raw Normal View History

2018-10-13 15:18:55 +02:00
class Api::V1::ConfigsController < Api::V1::BaseController
def show
render json: FoodsoftConfig, serializer: ConfigSerializer, root: 'config'
end
end