Commit 98bdbecc

mo khan <mo@mokhan.ca>
2014-07-08 04:16:01
add a redirect from the old creations/new page to /login.
1 parent c61c0ad
Changed files (1)
config/routes.rb
@@ -13,12 +13,12 @@ Cake::Application.routes.draw do
     get ':id/page/:page', :action => :show, :on => :collection
   end
 
+  get '/creations/new', to: redirect('/login')
   resources :creations, only: [:index, :show] do
     resources :photos, only: [:index, :show]
     resources :favorites, :only => [:index, :create]
     get 'page/:page', :action => :index, :on => :collection
   end
-  resources :cakes
 
   resources :profiles, :only => [:index, :show] do
     get 'page/:page', :action => :index, :on => :collection