Created
October 15, 2008 19:54
-
-
Save lobo-tuerto/16990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merb::Config.use do |c| | |
c[:framework] = { :support => Merb.root/'app'/'support'} | |
# Sets up a custom session id key which is used for the session persistence | |
# cookie name. If not specified, defaults to '_session_id'. | |
c[:session_id_key] = '_sif_session_id' | |
# The session_secret_key is only required for the cookie session store. | |
c[:session_secret_key] = '2af3df4fcfd64df54fd0010701fad98f97bee959' | |
# There are various options here, by default Merb comes with 'cookie', | |
# 'memory', 'memcache' or 'container'. | |
# You can of course use your favorite ORM instead: | |
# 'datamapper', 'sequel' or 'activerecord'. | |
c[:session_store] = 'cookie' | |
end | |
Merb.dir_for(:support) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment