Module: Resque::JobHistoryServer

Includes:
ActionView::Helpers::DateHelper
Defined in:
lib/resque/job_history_server.rb

Overview

Extends Resque Web Based UI. Structure has been borrowed from ResqueHistory.

Class Method Summary collapse

Class Method Details

.erb_path(filename) ⇒ Object



17
18
19
# File 'lib/resque/job_history_server.rb', line 17

def erb_path(filename)
  File.join(File.dirname(__FILE__), "server", "views", filename)
end

.included(base) ⇒ Object



25
26
27
28
29
# File 'lib/resque/job_history_server.rb', line 25

def included(base)
  add_page_views(base)
  add_button_callbacks(base)
  add_static_files(base)
end

.public_path(filename) ⇒ Object



21
22
23
# File 'lib/resque/job_history_server.rb', line 21

def public_path(filename)
  File.join(File.dirname(__FILE__), "server", "public", filename)
end