Sha256: 4b4be544606e1a3191e9c3f9d6c55515b53d96aed20b4560de264705671323ca

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

Jobshop::Engine.routes.draw do
  default_url_options(Jobshop.configuration.default_url_options)

  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 :registration, only: [ :new, :create ],
      controller: "teams/registrations"
  end


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

  root to: "dashboards#show"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jobshop-0.0.12 config/routes.rb