Sha256: 786ab391381fbb92d77305de1b4182cfe825bcb55e83e006927715b4d0a1fa4b
Contents?: true
Size: 918 Bytes
Versions: 3
Compression:
Stored size: 918 Bytes
Contents
h1. Watchtower h2. Setup Install the plugin: script/plugin install git://github.com/joshuaclayton/watchtower.git Move the assets (requires rsync): cd vendor && rake watchtower:sync Set up ApplicationController class ApplicationController < ActionController::Base include Watchtower::ApplicationControllerBase force_public_request_handling! # use this to force local development to rescue actions like a production server # etc... end If you want to secure the data, you might want to set up an initializer: WatchtowerController.class_eval do before_filter :check_credentials private def check_credentials # call login_required (from your auth system or whatever) unless viewing a specific exception by key login_required unless find_by_key? end end Copyright (c) 2009 Josh Clayton, released under the MIT license
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
joshuaclayton-watchtower-0.1.2 | README.textile |
joshuaclayton-watchtower-0.1.3 | README.textile |
joshuaclayton-watchtower-0.1.4 | README.textile |