Permalink
Browse files

configure padrino-sprockets

  • Loading branch information...
1 parent 416764a commit 061724688441dcec72a039a7a4c6da5ba64f2eae @k2052 committed Oct 22, 2011
Showing with 14 additions and 1 deletion.
  1. +14 −1 app/app.rb
View
@@ -5,5 +5,18 @@ class DbdDocs < Padrino::Application
register CompassInitializer
register Padrino::Sprockets
- enable :sessions
+ enable :sessions
+
+ assets do
+ digest false
+ handle_stylesheets false
+ stylesheets_url 'css'
+ javascripts_url 'js'
+ public_assets_folder '/'
+ public_stylesheets_folder 'css'
+ public_javascripts_folder 'js'
+ append_path 'assets/js'
+ append_path '../lib/assets/js'
+ append_path '../vendor/assets/js'
+ end
end

0 comments on commit 0617246

Please sign in to comment.