Home > rack-closed

rack-closed

Rack-closed is a project mainly written in Ruby, based on the MIT license.

For websites that are open 9 till 5

h1. Closed Middleware

h2. About

Rack Middleware for websites that are only open 9am till 5pm. Outside these hours vistors are shown a static html page to tell them the website is closed.

h3. Usage

h4. Rails 3

in Gemfile

@gem 'rack-closed'@

in config/application.rb

@config.middleware.use Rack::Closed@

Previous:cost_management