Sha256: 6caa39d332370bea6c3658841eef6c56312e96d3f1a4d8c1bedabd096c4a8b3b

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

Rails.application.routes.draw do

	namespace :admin do
		resources :media do
      put 'set_access', :on => :member
    end
    resources :media_picker, :only => [:index, :create]
	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
tb_media-1.0.2 config/routes.rb
tb_media-1.0.1 config/routes.rb