Created
July 6, 2010 05:36
-
-
Save dnch/465056 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
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery => case Rails.env | |
when "production" then ["http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js", "application", "etc"] | |
when "development" then %w(jquery jquery-ui jquery-typewatch rails application) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oo, handy.
Stolen