Sha256: b7873443390007d190df9808a30adcf18ce61b89ac869602db63fd6ea85bc2d2

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

Jets.application.routes.draw do
  # Default homepage. This should be replaced. Replacing requires using JETS_ENV_EXTRA
  # or deleting and deploying twice.
  # More info:
  #   http://rubyonjets.com/docs/routes-workaround/
  #   http://rubyonjets.com/docs/env-extra/
  root "jets/public#show"

  # The jets/public#show controller serves static utf8 content out of the public folder.
  # Replace it with your own controller to customize.
  # Note, binary files do not get served on AWS Lambda unless you specify the Accept header.
  # This is problematic for images requested by the Browser. IE: We don't control
  # that accept header that the browser sends.
  # Caveat, setting the Accept header to '*' for the entire API Gateway settings will force
  # the public controller to serve binary data when requested by the browser, but it
  # also results in form data always being treated as binary data also.
  # Instead, it is recommended to serve binary data using s3.
  # More info here: http://rubyonjets.com/docs/assets-serving/
  any "*catchall", to: "jets/public#show"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jets-1.0.6 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.5 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.4 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.3 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.2 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.1 lib/jets/commands/templates/skeleton/config/routes.rb
jets-1.0.0 lib/jets/commands/templates/skeleton/config/routes.rb
jets-0.10.4 lib/jets/commands/templates/skeleton/config/routes.rb
jets-0.10.3 lib/jets/commands/templates/skeleton/config/routes.rb
jets-0.10.2 lib/jets/commands/templates/skeleton/config/routes.rb
jets-0.10.1 lib/jets/commands/templates/skeleton/config/routes.rb
jets-0.10.0 lib/jets/commands/templates/skeleton/config/routes.rb