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


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

def show  # we don't use active_model_serializers here, because source is a Hash

  render json: { navigation: transform(navigation) }
end