Created
October 14, 2012 01:11
-
-
Save ChrisLundquist/3886859 to your computer and use it in GitHub Desktop.
dirty routes?
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
| AistroidsCom::Application.routes.draw do | |
| root :to => "home#index" | |
| devise_for :users | |
| resources :bots | |
| resources :users do | |
| resources :bots | |
| end | |
| end |
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
| class User | |
| #devise stuff | |
| has_many :bots | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment