Commit a5e69629

mo k <mo@mokhan.ca>
2012-03-13 03:18:34
fix typo in routes.rb
1 parent 3bb6d27
Changed files (1)
config/routes.rb
@@ -13,7 +13,7 @@ Cake::Application.routes.draw do
   # /creations
   resources :creations do
     resources :photos, :only => [:create, :destroy]
-    resources :favorites, :onlye => [:index, :create]
+    resources :favorites, :only => [:index, :create]
   end
   match 'creations/crop/:id' => 'creations#crop', :method => 'GET'
   match 'creations/crop_update/:id' => 'creations#crop_update', :as => 'creations_crop_update', :method => 'POST'