Sha256: 2d16ce97c2b9cd64facce9d652d1461a5ca8dace4a5cdf8ded506dda42f41135

Contents?: true

Size: 395 Bytes

Versions: 4

Compression:

Stored size: 395 Bytes

Contents

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

  get "/dashboard", to: "dashboards#show", as: :user_root

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

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

  root to: "pages#show", page: "index"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jobshop-0.0.10 config/routes.rb
jobshop-0.0.9 config/routes.rb
jobshop-0.0.7 config/routes.rb
jobshop-0.0.6 config/routes.rb