2018-10-13 15:18:55 +02:00
|
|
|
class Api::V1::ConfigsController < Api::V1::BaseController
|
2021-03-01 15:27:26 +01:00
|
|
|
before_action -> { doorkeeper_authorize! 'config:user', 'config:read', 'config:write' }
|
2019-02-05 20:53:02 +01:00
|
|
|
|
2018-10-13 15:18:55 +02:00
|
|
|
def show
|
|
|
|
render json: FoodsoftConfig, serializer: ConfigSerializer, root: 'config'
|
|
|
|
end
|
|
|
|
end
|