Sha256: acc1071db0717e09a0ab6faa42bbfd18b73f88b4a9819e1a693128ddc2864447

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

require 'angularjs-rails'
require 'jbuilder'
require 'jquery-rails'

require 'hyper_admin/engine'
require 'hyper_admin/application'

module HyperAdmin
  class << self

    delegate :register, to: :application
    delegate :routes,   to: :application
    delegate :setup,    to: :application

    def application
      @application ||= HyperAdmin::Application.new
    end

    def config
      application.setup
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyper_admin-0.3.0 lib/hyper_admin.rb