lib/melodiest/setting.rb in melodiest-0.1.1 vs lib/melodiest/setting.rb in melodiest-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
module Melodiest
module Setting
def setup
- set :server, 'thin'
+ register Sinatra::ConfigFile
+ config_file File.expand_path('../config.yml', __FILE__)
end
end
end