Sha256: 5c13dc2dd68cd3c5497a6b3a4abc97af3331461c70b0caafb7d01b886f26d773
Contents?: true
Size: 703 Bytes
Versions: 7
Compression:
Stored size: 703 Bytes
Contents
Rails.application.routes.draw do # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html get "/examples/:example", to: "application#examples", as: :example get "/docs/components/:component", to: "components#show", as: :component get "/docs/components", to: redirect("/docs/components/accordion") get "/components", to: redirect("/docs/components/accordion"), as: :components get "/docs/:id" => "documentation#show", :as => :documentation, :format => false get "/docs", to: "documentation#index", as: :documentation_index # This is just for the forms component resources :users # Defines the root path route ("/") root "application#index" end
Version data entries
7 entries across 7 versions & 1 rubygems