Sha256: f8b515ff174be783a75ac3ab5d1b66a45614fc3e410fb084d9b89d72b3c15f26

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module Ryakuzu
  class MainController < RootController
    def index
      schema = Ryakuzu::SchemaService.new
      @schema = schema.hash.as_json
      render template: 'ryakuzu/main/index', layout: 'ryakuzu/layouts/application'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ryakuzu-0.2.6 app/controllers/ryakuzu/main_controller.rb