API v1 config endpoint

This commit is contained in:
wvengen 2018-10-13 15:18:55 +02:00 committed by wvengen
parent 110c7cc3e9
commit 9c5a5d9492
4 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,7 @@
class Api::V1::ConfigsController < Api::V1::BaseController
def show
render json: FoodsoftConfig, serializer: ConfigSerializer, root: 'config'
end
end