Port halo/spree_digital to Spree version 2.0.0. Move factories to the correct place (factories.rb) so it can be used/overriden by other modules.

This commit is contained in:
2013-05-24 14:06:15 +01:00
parent 7dabf1a520
commit f3c13a7175
22 changed files with 265 additions and 149 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ Spree::Core::Engine.routes.draw do
resources :orders do
member do
get :reset_digitals
get :reset_digitals
end
end
end
get '/digital/:secret', :to => 'digitals#show', :via => :get, :as => 'digital', :constraints => { :secret => /[a-zA-Z0-9]{30}/ }
end