File: engine-root.patch

package info (click to toggle)
ruby-js-image-paths 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 100 kB
  • ctags: 10
  • sloc: ruby: 38; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Set rails engine root
 Debian specific
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 31-12-2014

--- a/lib/js_image_paths/engine.rb
+++ b/lib/js_image_paths/engine.rb
@@ -1,6 +1,6 @@
 module JsImagePaths
   class Engine < Rails::Engine
-
+    config.root = '/usr/share/ruby-js-image-paths'
     isolate_namespace(JsImagePaths)
 
     initializer('js_image_paths.compile', after: 'sprockets.environment') do |application|