Sha256: 213638d5f8afc4978a765ead3cc7b1e33db5da6ec73bdbe4dd228bf1af202cba

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

Jobshop::Engine.routes.draw do
  devise_for :users, class_name: "Jobshop::User", module: :devise

  resources :teams, only: [ ] do
    collection do
      resource :lookup, only: [ :show, :create ], module: "teams",
        as: "teams_lookup"
    end

    resource :setup, only: [ :show ]

    resource :registration, only: [ :new, :create ],
      controller: "teams/registrations"
  end

  get "/about" => redirect("https://jobshop.io"), as: :about

  root to: "dashboards#show"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jobshop-0.0.41 config/routes.rb
jobshop-0.0.37 config/routes.rb