Skip to content

Instantly share code, notes, and snippets.

@hopsoft
Created March 15, 2012 04:37
Show Gist options
  • Save hopsoft/2041928 to your computer and use it in GitHub Desktop.
Save hopsoft/2041928 to your computer and use it in GitHub Desktop.
Routes - cancan abstract resource authorization
MyApp::Application.routes.draw do
resources :users
resources :associates
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment