Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 918 Bytes



Install the plugin:

script/plugin install 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
  1. etc…

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
  1. call login_required (from your auth system or whatever) unless viewing a specific exception by key
    login_required unless find_by_key?

Copyright © 2009 Josh Clayton, released under the MIT license

Jump to Line
Something went wrong with that request. Please try again.