Sha256: d2d17a91b55586678ca8892ab2929da8e48ec8cc3b6166ffe7ccf8d240f40284
Contents?: true
Size: 632 Bytes
Versions: 4
Compression:
Stored size: 632 Bytes
Contents
Recruiter::Engine.routes.draw do root to: 'home#index' resources :jobs, only: [:index, :show] resources :articles, only: [:index, :show] devise_for :users, class_name: 'Recruiter::User', # module: 'devise', controllers: { omniauth_callbacks: "recruiter/omniauth_callbacks" } devise_scope :user do get 'sign_in', to: '/devise/sessions#new', as: :new_user_session get 'sign_out', to: '/devise/sessions#destroy', as: :destroy_user_session end scope :profile, module: :users, as: :user do resources :jobs resources :articles end get 'filters' => 'filters#index', as: :filters end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
recruiter-1.1.18 | config/routes.rb |
recruiter-1.1.17 | config/routes.rb |
recruiter-1.1.16 | config/routes.rb |
recruiter-1.1.15 | config/routes.rb |