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.4.4 config/routes.rb
effective_assets-1.4.3 config/routes.rb
effective_assets-1.4.2 config/routes.rb
effective_assets-1.4.1 config/routes.rb
effective_assets-1.4.0 config/routes.rb
effective_assets-1.3.2 config/routes.rb
effective_assets-1.3.1 config/routes.rb
effective_assets-1.3.0 config/routes.rb
effective_assets-1.2.5 config/routes.rb
effective_assets-1.2.4 config/routes.rb
effective_assets-1.2.3 config/routes.rb
effective_assets-1.2.2 config/routes.rb
effective_assets-1.2.0 config/routes.rb
effective_assets-1.1.2 config/routes.rb
effective_assets-1.1.1 config/routes.rb
effective_assets-1.1.0 config/routes.rb
effective_assets-1.0.0 config/routes.rb