Created
May 5, 2018 12:02
-
-
Save CodePint/5292f600b25b1065875d7484d5f317be 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 | |
devise_for :users | |
resources :users do | |
resources :images | |
resources :reviews | |
end | |
resources :memberships, only: [:new, :create] | |
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | |
root "users#index" | |
get '/test_mode', to: 'users#test', as: 'test_mode' | |
# get '/users/:id/search', to: 'users#search', as: 'users_search' | |
# get '/search', to: | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment