Class: SupplejackApi::SchemaController

Inherits:
ApplicationController show all
Defined in:
app/controllers/supplejack_api/schema_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#authenticate_admin!, #authenticate_user!, #current_user, #find_user_set

Instance Method Details

#showObject



14
15
16
17
# File 'app/controllers/supplejack_api/schema_controller.rb', line 14

def show
  @schema_fields = Concept.build_context(ConceptSchema.model_fields.keys)
  respond_with @schema_fields
end