Sha256: b50e1238f7fd81a4c0e1d6e06927ec6d8436fe48d3c6b7de4aa08acd419342b8

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

# This file contains your application, it requires dependencies and necessary
# parts of the application.
require 'rubygems'
require 'yaml'
require 'ramaze'

# Load app configuration
config_path = __DIR__('app.yml')
config_path = OPTIONS[:config] if defined?(OPTIONS)
APP_CONFIG = {
    'auth' => {
      'username' => 'admin',
      'password' => '-'
    }
  }.merge(YAML.load_file(config_path))

# Make sure that Ramaze knows where you are
Ramaze.options.roots = [__DIR__]

$: << __DIR__('lib')
require 'ts-admin'
require __DIR__('controller/init')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ts-admin-0.2.5 app.rb
ts-admin-0.2.4 app.rb