Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created November 24, 2008 22:51
Show Gist options
  • Select an option

  • Save jackdempsey/28667 to your computer and use it in GitHub Desktop.

Select an option

Save jackdempsey/28667 to your computer and use it in GitHub Desktop.
diff --git a/config/routes.rb b/config/routes.rb
index 4e2c9d0..ff64bb7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -25,7 +25,7 @@ ActionController::Routing::Routes.draw do |map|
# Sample resource route with sub-resources:
# map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
-
+
# Sample resource route with more complex sub-resources
# map.resources :products do |products|
# products.resources :comments
@@ -40,7 +40,7 @@ ActionController::Routing::Routes.draw do |map|
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
# map.root :controller => "welcome"
-
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment