Class: Helium::Web

Inherits:
Sinatra::Base
  • Object
show all
Extended by:
Configurable
Defined in:
lib/helium/web.rb,
lib/helium/web_helpers.rb

Constant Summary collapse

ROOT_DIR =
File.expand_path(File.dirname(__FILE__))
LIB_DIR =
'lib'
CONFIG =
File.join(APP_DIR, 'deploy.yml')
CUSTOM =
File.join(APP_DIR, 'custom.js')
PUBLIC =
File.join(APP_DIR, 'public', WEB_ROOT)
LOCK =
File.join(APP_DIR, '.lock')

Instance Method Summary collapse

Methods included from Configurable

configuration, configure

Instance Method Details

#/Object

Rendered if a missing script file is requested.



33
# File 'lib/helium/web.rb', line 33

get('/') { erb :index }