Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dirty routes?
AistroidsCom::Application.routes.draw do
root :to => "home#index"
devise_for :users
resources :bots
resources :users do
resources :bots
end
end
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