Class: Api::V1::NavigationsController
- Inherits:
-
BaseController
- Object
- BaseController
- Api::V1::NavigationsController
- Defined in:
- app/controllers/api/v1/navigations_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
2 3 4 5 |
# File 'app/controllers/api/v1/navigations_controller.rb', line 2 def show # we don't use active_model_serializers here, because source is a Hash render json: { navigation: transform() } end |