Skip to content

Instantly share code, notes, and snippets.

@tatsuro-ueda
Last active December 12, 2015 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tatsuro-ueda/4704603 to your computer and use it in GitHub Desktop.
Save tatsuro-ueda/4704603 to your computer and use it in GitHub Desktop.
Railsのアセットパイプラインを無効にするには
#config/application.rb
# Enable the asset pipeline
#config.assets.enabled = true
config.assets.enabled = false
<!--app/views/layouts/application.html.erb-->
<!DOCTYPE html>
<html>
<head>
<title>P130128CanvasExperiment2</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application"%>
<!--added-from-->
<%= javascript_include_tag "jquery"%>
<%= javascript_include_tag "knockout-2.1.0"%>
<%= javascript_include_tag "ore-ore-script"%>
<%= javascript_include_tag params[:controller] %>
<!--added-to-->
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment