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

- old
+ new

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