Sha256: 2a22a85f220836862f05999838d78d68a2b8af3ccc673114b0ee4d09f184a1d4
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
Rails.application.routes.draw do namespace :spud do namespace :admin do resources :media do put 'set_access', :on => :member get 'replace', :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' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spud_media-0.9.7 | config/routes.rb |
spud_media-0.9.6 | config/routes.rb |