File: engine-root.patch

package info (click to toggle)
ruby-flot-rails 0.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 632 kB
  • ctags: 530
  • sloc: ruby: 20; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Description: set engine root path.

--- ruby-flot-rails-0.0.6.orig/lib/flot/rails/engine.rb
+++ ruby-flot-rails-0.0.6/lib/flot/rails/engine.rb
@@ -2,6 +2,7 @@ module Flot
   module Rails
 
     class Engine < ::Rails::Engine
+	    config.root = '/usr/share/ruby-flot-rails'
     end
   end
 end