Sha256: cbeb18c33127f8de30a264b09078b3b263bf71a78b517cc5750b02b25c6d672c

Contents?: true

Size: 288 Bytes

Versions: 10

Compression:

Stored size: 288 Bytes

Contents

unless Rails.configuration.action_controller[:asset_path].nil?
  path = '/' + Rails.configuration.action_controller[:asset_path]
else
  path = '/assets'
end

Rails.application.routes.draw do
  get (path + '/:version/*file') => 'assets#index'
  get (path + '/*file') => 'assets#index'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zfben_rails_assets-0.0.16 config/routes.rb
zfben_rails_assets-0.0.15 config/routes.rb
zfben_rails_assets-0.0.14 config/routes.rb
zfben_rails_assets-0.0.13 config/routes.rb
zfben_rails_assets-0.0.12 config/routes.rb
zfben_rails_assets-0.0.11 config/routes.rb
zfben_rails_assets-0.0.10 config/routes.rb
zfben_rails_assets-0.0.9 config/routes.rb
zfben_rails_assets-0.0.8 config/routes.rb
zfben_rails_assets-0.0.7 config/routes.rb