Move site-specific configuration out of environment.rb into a YAML file. This allows us to ship environment.rb with Tracks. Fixes #813.

This commit is contained in:
Eric Allen 2009-01-23 13:13:28 -05:00
parent 00e1d2994b
commit 2ee84b8162
11 changed files with 71 additions and 60 deletions

View file

@ -20,7 +20,7 @@ class CannotAccessContext < RuntimeError; end
class ApplicationController < ActionController::Base
protect_from_forgery :secret => SALT
protect_from_forgery :secret => SITE_CONFIG['salt']
helper :application
include LoginSystem