API v1 config endpoint
This commit is contained in:
parent
110c7cc3e9
commit
9c5a5d9492
4 changed files with 50 additions and 0 deletions
7
app/controllers/api/v1/configs_controller.rb
Normal file
7
app/controllers/api/v1/configs_controller.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class Api::V1::ConfigsController < Api::V1::BaseController
|
||||
|
||||
def show
|
||||
render json: FoodsoftConfig, serializer: ConfigSerializer, root: 'config'
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue