diff --git a/README_DEVEL b/README_DEVEL index b82d2225..53d20372 100644 --- a/README_DEVEL +++ b/README_DEVEL @@ -40,7 +40,7 @@ Edit app_config.yml to suit your needs or just keep the defaults for now. ------------------- The user session is stored in a cookie. To avoid misusing the cookies and its sensitive information, rails will encrypt it with a token. So copy the config file - cp config/environment.rb.SAMPLE config/environment.rb + cp config/initializers/session_store.rb.SAMPLE config/initializers/session_store.rb and modify the token "config.action_controller.session"! diff --git a/config/environment.rb.SAMPLE b/config/environment.rb similarity index 95% rename from config/environment.rb.SAMPLE rename to config/environment.rb index 0393e60d..b5d15ab0 100644 --- a/config/environment.rb.SAMPLE +++ b/config/environment.rb @@ -67,5 +67,4 @@ Rails::Initializer.run do |config| config.i18n.default_locale = :de # See Rails::Configuration for more options - config.action_controller.session = { :key => "_myapp_session", :secret => "9195616576518931793179752176417923862176431279acfaedcbeafdcbeafdcbeafcbaefdcbaedcfadcf" } end