Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
set secret
  • Loading branch information
rkh committed Nov 1, 2012
1 parent 12a06c5 commit f2259af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ Here's a simple application:
# cat hello_world.rb
require "cuba"
require "rack/protection"
require "securerandom"

Cuba.use Rack::Session::Cookie
Cuba.use Rack::Session::Cookie, :secret => SecureRandom.hex(64)
Cuba.use Rack::Protection

Cuba.define do
Expand Down

0 comments on commit f2259af

Please sign in to comment.