Skip to content

Instantly share code, notes, and snippets.

@jdkealy
Created May 27, 2011 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdkealy/994595 to your computer and use it in GitHub Desktop.
Save jdkealy/994595 to your computer and use it in GitHub Desktop.
Alabaster::Application.routes.draw do
scope(:path => 'refinery', :as => 'admin', :module => 'admin') do
scope(:path => 'blog', :as => 'blog', :module => 'blog') do
root :to => 'comments#index'
resources :posts do
get 'uncategorized', :on => :collection
end
end
scope(:path => 'store', :as => 'store', :module => 'store') do
root :to => 'orders#index'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment