Sha256: 7a2c265d42b5e668a4965ee534cb75fe7fef42c12d181dad37b74550f25e5087

Contents?: true

Size: 654 Bytes

Versions: 10

Compression:

Stored size: 654 Bytes

Contents

# frozen_string_literal: true

Jets.application.routes.draw do
  root 'jets/public#show'

  resources 'rest', only: %i[index show create update delete]

  get 'status/:status', to: 'status#show'
  get 'error/:code', to: 'error#show'
  get 'pagination', to: 'pagination#index'

  # The jets/public#show controller can serve static utf8 content out of the public folder.
  # Note, as part of the deploy process Jets uploads files in the public folder to s3
  # and serves them out of s3 directly. S3 is well suited to serve static assets.
  # More info here: https://rubyonjets.com/docs/extras/assets-serving/
  any '*catchall', to: 'jets/public#show'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
my_api_client-0.23.0 my_api/config/routes.rb
my_api_client-0.22.0 my_api/config/routes.rb
my_api_client-0.21.0 my_api/config/routes.rb
my_api_client-0.20.0 my_api/config/routes.rb
my_api_client-0.19.0 my_api/config/routes.rb
my_api_client-0.18.0 my_api/config/routes.rb
my_api_client-0.17.0 my_api/config/routes.rb
my_api_client-0.16.1 my_api/config/routes.rb
my_api_client-0.16.0 my_api/config/routes.rb
my_api_client-0.15.0 my_api/config/routes.rb