lib/melodiest/setting.rb in melodiest-0.4.0 vs lib/melodiest/setting.rb in melodiest-1.0.0

- old
+ new

@@ -1,11 +1,7 @@ module Melodiest module Setting - def setup(cookie_secret, options={}) - {server: 'thin'}.merge(options).each do |key, value| - set key, value - end - + def setup(cookie_secret) use Rack::Session::EncryptedCookie, secret: cookie_secret end end end