Guest User

Untitled

a guest
Feb 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Merb::Config.use do |c|
  2. c[:framework] = { :support => Merb.root/'app'/'support'}
  3. # Sets up a custom session id key which is used for the session persistence
  4. # cookie name. If not specified, defaults to '_session_id'.
  5. c[:session_id_key] = '_sif_session_id'
  6.  
  7. # The session_secret_key is only required for the cookie session store.
  8. c[:session_secret_key] = '2af3df4fcfd64df54fd0010701fad98f97bee959'
  9.  
  10. # There are various options here, by default Merb comes with 'cookie',
  11. # 'memory', 'memcache' or 'container'.
  12. # You can of course use your favorite ORM instead:
  13. # 'datamapper', 'sequel' or 'activerecord'.
  14. c[:session_store] = 'cookie'
  15. end
  16. Merb.dir_for(:support)
Add Comment
Please, Sign In to add comment