Class: Iceberg::WebApp

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/ibg/web.rb

Constant Summary collapse

ICEBERG_HOME =
File.dirname(__FILE__) + '/../../'
FORBIDDEN_CHARS =
" #<>:\\/*?\"|&',;`"
CONTENT_TYPES =
{
:html => 'text/html',
:css => 'text/css',
:js => 'application/javascript',
:txt => 'text/plain',
}