Sha256: 853d00c582ed7382e520b6d25e98438e7b347ff479049c799382d1148e381734
Contents?: true
Size: 860 Bytes
Versions: 4
Compression:
Stored size: 860 Bytes
Contents
# frozen_string_literal: true Rails.application.routes.draw do root to: 'home#index' get '/benchmark/html', to: 'benchmark#normal_html' get '/benchmark/ruby', to: 'benchmark#ruby_2html' get '/rb_files', to: 'home#rb_files' get 'form', to: 'home#form' # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. # Can be used by load balancers and uptime monitors to verify that the app is live. get 'up' => 'rails/health#show', as: :rails_health_check # Render dynamic PWA files from app/views/pwa/* get 'service-worker' => 'rails/pwa#service_worker', as: :pwa_service_worker get 'manifest' => 'rails/pwa#manifest', as: :pwa_manifest # Defines the root path route ("/") # root "posts#index" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby2html-1.5.3 | config/routes.rb |
ruby2html-1.5.2 | config/routes.rb |
ruby2html-1.5.1 | config/routes.rb |
ruby2html-1.5.0 | config/routes.rb |