File: engine-root.patch

package info (click to toggle)
ruby-rails-assets-jquery-colorbox 1.6.3~dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 464 kB
  • ctags: 71
  • sloc: ruby: 38; sh: 19; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: set config.root
 Debian specific
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 29-12-2014

Index: ruby-rails-assets-jquery-colorbox-1.5.14/lib/rails-assets-jquery-colorbox.rb
===================================================================
--- ruby-rails-assets-jquery-colorbox-1.5.14.orig/lib/rails-assets-jquery-colorbox.rb
+++ ruby-rails-assets-jquery-colorbox-1.5.14/lib/rails-assets-jquery-colorbox.rb
@@ -26,6 +26,7 @@ module RailsAssetsJqueryColorbox
 
   if defined?(Rails)
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-rails-assets-jquery-colorbox'
       # Rails -> use app/assets directory.
     end
   end