Skip to content

Instantly share code, notes, and snippets.

@austinklenk
Created September 4, 2015 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save austinklenk/c6811f8b1944c197cb5f to your computer and use it in GitHub Desktop.
Save austinklenk/c6811f8b1944c197cb5f to your computer and use it in GitHub Desktop.
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