Module: ResqueGroups::Server
- Defined in:
- lib/resque_groups/server.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/resque_groups/server.rb', line 8 def self.included(base) base.class_eval do get "/groups" do erb File.read(File.join(File.dirname(__FILE__), 'server/views/groups.erb')) end end end |