Sha256: d3e86c93fd344bd67175a98b00a3fd6a58422cbc717859c8122d7e143610d8fe

Contents?: true

Size: 443 Bytes

Versions: 77

Compression:

Stored size: 443 Bytes

Contents

Rails.application.routes.draw do
  mount EffectiveAssets::Engine => '/', :as => 'effective_assets'
end

EffectiveAssets::Engine.routes.draw do
  scope :module => 'effective' do
    resources :s3_uploads, :only => [:create, :update]

    match '/effective/assets', :to => 'assets#index', :via => [:get], :as => 'effective_assets'
    match '/effective/assets/:id', :to => 'assets#destroy', :via => [:delete], :as => 'effective_asset'
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
effective_assets-1.12.2 config/routes.rb
effective_assets-1.12.1 config/routes.rb
effective_assets-1.12.0 config/routes.rb
effective_assets-1.11.5 config/routes.rb
effective_assets-1.11.4 config/routes.rb
effective_assets-1.11.3 config/routes.rb
effective_assets-1.11.2 config/routes.rb
effective_assets-1.11.1 config/routes.rb
effective_assets-1.11.0 config/routes.rb
effective_assets-1.10.1 config/routes.rb
effective_assets-1.10.0 config/routes.rb
effective_assets-1.9.14 config/routes.rb
effective_assets-1.9.13 config/routes.rb
effective_assets-1.9.12 config/routes.rb
effective_assets-1.9.11 config/routes.rb
effective_assets-1.9.10 config/routes.rb
effective_assets-1.9.9 config/routes.rb
effective_assets-1.9.8 config/routes.rb
effective_assets-1.9.7 config/routes.rb
effective_assets-1.9.6 config/routes.rb