Commit adbb4eba

morilla <mo@mokhan.ca>
2011-05-09 23:55:38
change default route from sign in to home/index.
1 parent 65546a5
Changed files (1)
config/routes.rb
@@ -7,10 +7,11 @@ Cake::Application.routes.draw do
   match 'artists' => 'profiles#index', :as => 'all_profiles', :method => 'GET'
   match 'artists/:id' => 'profiles#show', :as => 'profile', :method => 'GET'
 
-  authenticate :user do
+  # authenticate :user do
+  #   root :to => "home#index"
+  # end
+  # root :to => "devise:sessions#new"
   root :to => "home#index"
-  end
-  root :to => "devise:sessions#new"
 
   # The priority is based upon order of creation:
   # first created -> highest priority.