Sha256: 044eb15442752a0481f27f4e6888e0ef1f4cb8a6dba0dd74dfa233dad4cad4ac

Contents?: true

Size: 754 Bytes

Versions: 11

Compression:

Stored size: 754 Bytes

Contents

# Roda is a simple Rack-based framework with a flexible architecture based
# on the concept of a routing tree. Bridgetown uses it for its development
# server, but you can also run it in production for fast, dynamic applications.
#
# Learn more at: http://roda.jeremyevans.net

# Uncomment to use the file-based routing for Bridgetown SSR:
# require "bridgetown-routes"

class RodaApp < Bridgetown::Rack::Roda
  # Add additional Roda configuration here if needed

  # Uncomment to use Bridgetown SSR:
  # plugin :bridgetown_ssr
  # plugin :bridgetown_routes

  route do |r|
    # Load all files in server/routes and src/_routes if "bridgetown-routes" is loaded
    # (see server/routes/hello.rb.sample)
    Bridgetown::Rack::Routes.start! self
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bridgetown-core-1.0.0.alpha11 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha10 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha9 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha8 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha7 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha6 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha5 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha4 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha3 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha2 lib/site_template/server/roda_app.rb
bridgetown-core-1.0.0.alpha1 lib/site_template/server/roda_app.rb