Sha256: 8da2496f23d614b21db5d207c4a2378407174c3de134f88664bb6e11aeab05d8

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

Rails.application.routes.draw do
	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'
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tb_media-1.0 config/routes.rb
spud_media-0.9.5 config/routes.rb