Sha256: e3174b555f7d32b7f6616be1e01c171275bcb81932584688976dc10be8022751
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 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 => 'protected_media#show', :as => 'protected_media' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spud_media-1.0.1 | config/routes.rb |
spud_media-1.0.0 | config/routes.rb |
spud_media-1.0.0.rc1.1 | config/routes.rb |
spud_media-1.0.0.rc1 | config/routes.rb |