Class: Api::V1::NavigationsController

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

Instance Method Summary collapse

Instance Method Details

#showObject



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(navigation) }
end