mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 23:54:07 +01:00
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:
parent
00e1d2994b
commit
2ee84b8162
11 changed files with 71 additions and 60 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue