Skip to content

Instantly share code, notes, and snippets.

@shushugah
Created July 23, 2014 18:20
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 shushugah/a198fcc259cdf5679ebc to your computer and use it in GitHub Desktop.
Save shushugah/a198fcc259cdf5679ebc to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
resources :contacts
resources :recipients
# resources :user do
# resources :recipients
# end
# users/recipients/
#resources :pins
resources :alerts
# devise_for :views
# devise_for :installs
devise_for :users
# resources :users do
# resources :recipients
# end
root "pages#home"
get "about" => "pages#about"
get "recipients" => "pages#recipients"
get "alerts" => "recipients#alerts"
get "go" => "alerts#go", as: 'go_alert'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment