Sha256: 1d2ff44ce2eee3d424d325b3645f0d52ad94ccdd85ede1000ba20a1adafb588d

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

Comable::Apartment::Engine.routes.draw do
  root to: 'dashboard#show'

  devise_for :root_user, path: :user, class_name: Comable::User.name, module: :devise, router_name: :comable_apartment, controllers: {
    sessions: 'comable/apartment/user_sessions'
  }

  resources :tenants do
    resources :users
  end

  # TODO: Change to 404 page
  get '*path', controller: :dashboard, action: :show
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comable-apartment-0.0.1 config/routes.rb