Sha256: 1b47f1ca6ad2af6078169dc3fb6252df00b4d32f32b2b2ff49f8a913d9cb5d1a

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

Rails.application.routes.draw do
  namespace :presentation do
    controller 'assets' do
      match 'stylesheets/:id.:format', :as => 'stylesheet', :action => 'stylesheet', :via => [:get], :constraints => {:format => 'css'}
      match 'javascript/:id.:format', :as => 'javascript', :action => 'javascript', :via => [:get], :constraints => {:format => 'js'}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
presenting-2.1.0 config/routes.rb