https://github.com/asmega/rack-closed
For websites that are open 9 till 5
https://github.com/asmega/rack-closed
Last synced: about 1 year ago
JSON representation
For websites that are open 9 till 5
- Host: GitHub
- URL: https://github.com/asmega/rack-closed
- Owner: asmega
- License: mit
- Created: 2011-06-21T19:17:07.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-07-03T15:38:57.000Z (almost 15 years ago)
- Last Synced: 2024-04-25T16:42:44.857Z (about 2 years ago)
- Language: Ruby
- Homepage:
- Size: 94.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
README
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@