lib/ledger_web/app.rb in ledger_web-1.4.3 vs lib/ledger_web/app.rb in ledger_web-1.4.4

- old
+ new

@@ -9,11 +9,9 @@ set :session_secret, LedgerWeb::Config.instance.get(:session_secret) set :session_expire, LedgerWeb::Config.instance.get(:session_expire) set :views, LedgerWeb::Config.instance.get(:report_directories) + [File.join(File.dirname(__FILE__), 'views')] set :reload_templates, true - LedgerWeb::Database.connect - helpers Sinatra::Capture helpers LedgerWeb::Helpers def find_template(views, name, engine, &block) Array(views).each { |v| super(v, name, engine, &block) }