1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: use web directory from /usr/share
web templates are installed in /usr/share/ruby-sidekiq
this patch will pick up the templates from correct path
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2014-08-27
Index: ruby-sidekiq/lib/sidekiq/web.rb
===================================================================
--- ruby-sidekiq.orig/lib/sidekiq/web.rb
+++ ruby-sidekiq/lib/sidekiq/web.rb
@@ -18,7 +18,7 @@ require 'rack/session/cookie'
module Sidekiq
class Web
- ROOT = File.expand_path("#{File.dirname(__FILE__)}/../../web")
+ ROOT = File.expand_path("#{File.dirname(__FILE__)}/../../../../share/ruby-sidekiq/web")
VIEWS = "#{ROOT}/views".freeze
LOCALES = ["#{ROOT}/locales".freeze]
LAYOUT = "#{VIEWS}/layout.erb".freeze
|