mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 19:57:41 +00:00
20 lines
461 B
Ruby
20 lines
461 B
Ruby
Rails.application.routes.draw do
|
|
|
|
get 'oysters/show'
|
|
get 'oysters/index'
|
|
|
|
root "dashboard#index"
|
|
resources :runs
|
|
resources :companies
|
|
resources :grades
|
|
|
|
devise_for :users, :controllers => {:registrations => 'registrations'}
|
|
devise_scope :users do
|
|
get 'signin' => 'registrations#new'
|
|
post 'signin' => 'registrations#create'
|
|
end
|
|
|
|
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
end
|