Created
June 20, 2010 16:12
-
-
Save sstephenson/445923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using Sprockets in Rails 3 | |
MyApp::Application.routes.draw do | |
match 'application.js', :to => Sprockets::Server.new(YAML.load_file(Rails.root.join("config/sprockets/application.yml"))) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment