Created
September 4, 2015 16:23
-
-
Save austinklenk/c6811f8b1944c197cb5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.draw do | |
resources :notes | |
resources :guests | |
resources :calls | |
devise_for :users, controllers: { sessions: 'users/sessions', :invitations => 'users/invitations' } | |
resources :users, only: [:show] | |
resources :campers | |
resources :customers do | |
collection { post :import } | |
end | |
resources :orders | |
# The priority is based upon order of creation: first created -> highest priority. | |
# See how all your routes lay out with "rake routes". | |
# You can have the root of your site routed with "root" | |
root 'dashboard#index' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment