Closed postmodern closed 11 months ago
Split the app.rb file and App class into multiple app/*.rb files.
app.rb
App
app/*.rb
app.rb:
class App < Sinatra::Base ... end require './app/db' require './app/scanning'
app/db.rb:
app/db.rb
class App < Sinatra::Base get '/db/...' do ... end end
Implemented in #88
Split the
app.rb
file andApp
class into multipleapp/*.rb
files.app.rb
:app/db.rb
: