railhead_preheat 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railhead_preheat.rb +2 -0
- data/railhead_preheat.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3748e3cd47402c5698e01382815c446380d59d2d
|
4
|
+
data.tar.gz: 1d17d8905b890b9495009104d064106ab8765a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bdb4f5ffd4c0d65c97d928e90b3842e6a2e1c778c1a02d75c0f105f57a1c111ca0d21611ac3739feeb7255754be53f61620404bcfd16118b783c14c951eacdd
|
7
|
+
data.tar.gz: f444ab82fc579f829bb623ead6f2ed4574a50379641ea00981ad89c50c90c1a0da5cb359daa426b37214f742709de7be87cb7cdb783d6b9eebead28ffc0f8683
|
data/lib/railhead_preheat.rb
CHANGED
@@ -6,6 +6,8 @@ class RailheadPreheatController < ActionController::Metal
|
|
6
6
|
|
7
7
|
def initialize(*args)
|
8
8
|
super()
|
9
|
+
self.class.send :include, Rails.application.routes.url_helpers
|
10
|
+
self.class.send :helper, ApplicationHelper
|
9
11
|
lookup_context.view_paths = ApplicationController.view_paths
|
10
12
|
end
|
11
13
|
end
|
data/railhead_preheat.gemspec
CHANGED