Created
November 8, 2015 14:02
-
-
Save tbuehlmann/18a36503da615867cb39 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 :categories | |
devise_for :admins | |
devise_for :users | |
resources :users | |
namespace :admin do | |
resources :categories | |
end | |
root "categories#index" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment