Sha256: b5a184eb54439611aecbe6cfd03a6765387d9bac010c1c73e45900d8a6525157

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

require_dependency "skydrive/application_controller"

module Skydrive
  class EmberController < ApplicationController
    def index
      @env = {
        'CONFIG' => {
          root_path: root_path
        }
      }
    end

    def health_check
      begin
        ApiKey.count
        head 200
      rescue
        head 500
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lti_skydrive-0.1.1 app/controllers/skydrive/ember_controller.rb
lti_skydrive-0.1.0 app/controllers/skydrive/ember_controller.rb
lti_skydrive-0.0.5 app/controllers/skydrive/ember_controller.rb
lti_skydrive-0.0.4 app/controllers/skydrive/ember_controller.rb
lti_skydrive-0.0.3 app/controllers/skydrive/ember_controller.rb