Created
December 17, 2013 11:43
-
-
Save john-griffin/8003727 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
From 290df64f151ff771a9e29fafb6f3a80f97404223 Mon Sep 17 00:00:00 2001 | |
From: John Griffin <johnog@gmail.com> | |
Date: Tue, 17 Dec 2013 11:40:35 +0000 | |
Subject: [PATCH] remove turbo links | |
--- | |
Gemfile | 3 --- | |
Gemfile.lock | 3 --- | |
app/assets/javascripts/application.js | 1 - | |
app/views/layouts/application.html.erb | 4 ++-- | |
4 files changed, 2 insertions(+), 9 deletions(-) | |
diff --git a/Gemfile b/Gemfile | |
index b2b01de..a1fcc42 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -21,9 +21,6 @@ gem 'coffee-rails', '~> 4.0.0' | |
# Use jquery as the JavaScript library | |
gem 'jquery-rails' | |
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks | |
-gem 'turbolinks' | |
- | |
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | |
gem 'jbuilder', '~> 1.2' | |
diff --git a/Gemfile.lock b/Gemfile.lock | |
index 48cd24e..248b8a6 100644 | |
--- a/Gemfile.lock | |
+++ b/Gemfile.lock | |
@@ -97,8 +97,6 @@ GEM | |
treetop (1.4.15) | |
polyglot | |
polyglot (>= 0.3.1) | |
- turbolinks (2.0.0) | |
- coffee-rails | |
tzinfo (0.3.38) | |
uglifier (2.3.3) | |
execjs (>= 0.3.0) | |
@@ -115,5 +113,4 @@ DEPENDENCIES | |
rails (= 4.0.2) | |
sass-rails (~> 4.0.0) | |
sdoc | |
- turbolinks | |
uglifier (>= 1.3.0) | |
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js | |
index d6925fa..1ca0e3b 100644 | |
--- a/app/assets/javascripts/application.js | |
+++ b/app/assets/javascripts/application.js | |
@@ -12,5 +12,4 @@ | |
// | |
//= require jquery | |
//= require jquery_ujs | |
-//= require turbolinks | |
//= require_tree . | |
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb | |
index bcff7f6..3d75bb7 100644 | |
--- a/app/views/layouts/application.html.erb | |
+++ b/app/views/layouts/application.html.erb | |
@@ -2,8 +2,8 @@ | |
<html> | |
<head> | |
<title>Onion</title> | |
- <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> | |
- <%= javascript_include_tag "application", "data-turbolinks-track" => true %> | |
+ <%= stylesheet_link_tag "application", media: "all" %> | |
+ <%= javascript_include_tag "application" %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> | |
-- | |
1.8.3.4 (Apple Git-47) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment