Sha256: 0bb9ed1d379bcfd95fbc51e6160abef8c52760156834aa42c7fcee1c5cb9718c
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
module Presenting # prior to Rails 2.3, you need to call this manually from your config/routes.rb def self.draw_routes(map) map.namespace(:presentation) do |presentation| presentation.stylesheet 'stylesheets/:id.css', :controller => 'assets', :action => 'stylesheet', :format => 'css' presentation.javascript 'javascript/:id.js', :controller => 'assets', :action => 'javascript', :format => 'js' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
presenting-1.0.0 | lib/presenting.rb |