Include session_store in git repo, but not the secret token.

This commit is contained in:
benni 2011-05-14 16:51:10 +02:00
parent 0757be8319
commit ca15bb1102
2 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View file

@ -8,6 +8,6 @@ capfile
config/environments/fcschinke09.rb config/environments/fcschinke09.rb
*.swp *.swp
public/**/*_cached.* public/**/*_cached.*
config/initializers/session_store.rb config/initializers/secret_token.rb
.idea .idea
.rvmrc .rvmrc

View file

@ -0,0 +1,8 @@
# Be sure to restart your server when you modify this file.
Foodsoft::Application.config.session_store :cookie_store, :key => '_foodsoft_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create")
# FianGroups::Application.config.session_store :active_record_store