summaryrefslogtreecommitdiffstats
path: root/registration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'registration.rb')
-rw-r--r--registration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/registration.rb b/registration.rb
index e3bf571..34baf84 100644
--- a/registration.rb
+++ b/registration.rb
@@ -2,6 +2,7 @@ require 'sinatra/base'
require 'sinatra/url_for'
require 'tilt/erb'
require_relative 'lib/registration'
+require_relative 'lib/config'
class RegistrationApp < Sinatra::Base
helpers Sinatra::UrlForHelper
@@ -10,6 +11,7 @@ class RegistrationApp < Sinatra::Base
enable :sessions
get '/' do
+ @config = Config.load
@band = Band.new
3.times { @band.songs << Song.new }
erb :index