config/routes.rb in spud_media-0.9.4 vs config/routes.rb in spud_media-0.9.5
- old
+ new
@@ -2,9 +2,10 @@
namespace :spud do
namespace :admin do
resources :media do
put 'set_access', :on => :member
end
+ resources :media_picker, :only => [:index, :create]
end
end
#get '/media/protected/:id/:style/:filename' => 'ProtectedMedia#show', :as => 'protected_media'
get Spud::Media.config.storage_url => 'ProtectedMedia#show', :as => 'protected_media'
\ No newline at end of file