Sha256: 1b320c83bdfd639c586ce4a1a793317e27bed1e37b3024b4073d5dd2213e08a0

Contents?: true

Size: 415 Bytes

Versions: 56

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

Tramway::Admin::Engine.routes.draw do
  mount Tramway::Export::Engine, at: '/' if defined? Tramway::Export::Engine

  root to: 'welcome#index'

  resources :records
  resource :singleton, only: %i[new create show edit update]
  resources :has_and_belongs_to_many_records, only: %i[create destroy]
  resource :session, only: %i[new create]
  get 'sign_out', to: 'sessions#destroy'
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
tramway-admin-5.0 config/routes.rb
tramway-admin-4.1.2.1 config/routes.rb
tramway-admin-4.1.2 config/routes.rb
tramway-admin-4.1.1.5 config/routes.rb
tramway-admin-4.1.1.4 config/routes.rb
tramway-admin-4.1.1.3 config/routes.rb
tramway-admin-4.1.1.2 config/routes.rb
tramway-admin-4.1.1.1 config/routes.rb
tramway-admin-4.1.1 config/routes.rb
tramway-admin-4.1.0.1 config/routes.rb
tramway-admin-4.1 config/routes.rb
tramway-admin-4.0.1.1 config/routes.rb
tramway-admin-4.0.1 config/routes.rb
tramway-admin-4.0.0.1 config/routes.rb
tramway-admin-4.0 config/routes.rb
tramway-admin-3.0.1.1 config/routes.rb
tramway-admin-3.0.1 config/routes.rb
tramway-admin-3.0 config/routes.rb
tramway-admin-2.1.3.3 config/routes.rb
tramway-admin-2.1.3.2 config/routes.rb