Created
March 24, 2011 21:32
-
-
Save bishopandco/885941 to your computer and use it in GitHub Desktop.
Rendered
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
<%= javascript_include_tag :defaults %> |
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
require File.expand_path('../boot', __FILE__) | |
require 'rails/all' | |
Bundler.require(:default, Rails.env) if defined?(Bundler) | |
module Comfy | |
class Application < Rails::Application | |
... | |
config.action_view.javascript_expansions[:defaults] = %w(jquery rails) | |
... | |
end | |
end |
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
Comfy::Application.configure do | |
... | |
config.action_view.javascript_expansions[:defaults] = %w(jquery rails) | |
end |
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
source 'http://rubygems.org' | |
gem 'rails', '3.0.4' | |
gem 'mysql2' | |
gem 'jquery-rails' | |
... |
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
<script src="/javascripts/prototype.js" type="text/javascript"></script> | |
<script src="/javascripts/effects.js" type="text/javascript"></script> | |
<script src="/javascripts/dragdrop.js" type="text/javascript"></script> | |
<script src="/javascripts/controls.js" type="text/javascript"></script> | |
<script src="/javascripts/rails.js?1300993290" type="text/javascript"></script> | |
<script src="/javascripts/application.js?1300995428" type="text/javascript"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment