Class: Pageflow::Generators::ResqueGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/pageflow/resque/resque_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializersObject


8
9
10
11
12
13
14
15
# File 'lib/generators/pageflow/resque/resque_generator.rb', line 8

def create_initializers
  template 'resque.rb', 'config/initializers/resque.rb'
  template 'resque_mailer.rb', 'config/initializers/resque_mailer.rb'
  template 'resque_logger.rb', 'config/initializers/resque_logger.rb'
  template 'resque_enqueue_after_commit_patch.rb', 'config/initializers/resque_enqueue_after_commit_patch.rb'
  template 'devise_async.rb', 'config/initializers/devise_async.rb'
  template 'resque.rake', 'lib/tasks/resque.rake'
end