Class: Api::V1::ConfigsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/api/v1/configs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject


3
4
5
# File 'app/controllers/api/v1/configs_controller.rb', line 3

def show
  render json: FoodsoftConfig, serializer: ConfigSerializer, root: 'config'
end