Sha256: 6233c3706c3fc650cafb4cb90d9257a9cd10d97e85fe45e081c9824cc2f6f8e3

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

Rails.application.routes.draw do
    scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
        devise_for :users
    end
    
    devise_scope :user do
        scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
            root to: "devise/sessions#new"
        end
    end

    scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
        get '/info/swagger', to: 'info#swagger'
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thecore_ui_commons-3.2.19 config/routes.rb
thecore_ui_commons-3.2.18 config/routes.rb
thecore_ui_commons-3.2.17 config/routes.rb
thecore_ui_commons-3.2.16 config/routes.rb
thecore_ui_commons-3.2.15 config/routes.rb