ronin-rb / ronin-app

A local web interface for Ronin.
https://ronin-rb.dev
GNU Affero General Public License v3.0
26 stars 8 forks source link

Split `app.rb` apart into multiple `app/*.rb` files #82

Closed postmodern closed 11 months ago

postmodern commented 11 months ago

Split the app.rb file and App class into multiple app/*.rb files.

app.rb:

class App < Sinatra::Base
  ...
end

require './app/db'
require './app/scanning'

app/db.rb:

class App < Sinatra::Base
  get '/db/...' do
    ...
  end
end
AI-Mozi commented 11 months ago

Implemented in #88