Module: J1AppTest
- Defined in:
- lib/j1_app.rb
Overview
App in development mode
Class Method Summary collapse
Class Method Details
.site ⇒ Object
84 85 86 87 88 89 90 91 |
# File 'lib/j1_app.rb', line 84 def self.site Rack::Builder.new do use Rack::LiveReload # Middleware. Support Livereload use Rack::ShowExceptions # Middleware. Generate web-based error pages (for Rack) use J1App::AuthManager # Middleware. Support authentication methods using OmniAuth run J1App::SiteManager # Run J1App Manager to manage the (static) site as an (Rack-based) Web Application: end end |