2021-02-03 16:09:17 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-10-05 11:43:47 -04:00
|
|
|
if Rails.env.development?
|
|
|
|
# Make the built-in Rails routes available in development, otherwise they'd
|
|
|
|
# get swallowed by the `namespace/project` route matcher below.
|
|
|
|
#
|
|
|
|
# See https://git.io/va79N
|
|
|
|
get '/rails/mailers' => 'rails/mailers#index'
|
|
|
|
get '/rails/mailers/:path' => 'rails/mailers#preview'
|
|
|
|
get '/rails/info/properties' => 'rails/info#properties'
|
|
|
|
get '/rails/info/routes' => 'rails/info#routes'
|
|
|
|
get '/rails/info' => 'rails/info#index'
|
|
|
|
|
|
|
|
mount LetterOpenerWeb::Engine, at: '/rails/letter_opener'
|
2022-08-01 08:12:10 -04:00
|
|
|
mount Lookbook::Engine, at: '/rails/lookbook'
|
2016-10-05 11:43:47 -04:00
|
|
|
end
|