aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/rails/generators/job/templates/job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/lib/rails/generators/job/templates/job.rb')
-rw-r--r--activejob/lib/rails/generators/job/templates/job.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/lib/rails/generators/job/templates/job.rb b/activejob/lib/rails/generators/job/templates/job.rb
index 6a21616d30..462c71d917 100644
--- a/activejob/lib/rails/generators/job/templates/job.rb
+++ b/activejob/lib/rails/generators/job/templates/job.rb
@@ -2,8 +2,8 @@
class <%= class_name %>Job < ActiveJob::Base
queue_as :<%= options[:queue] %>
- def perform
+ def perform(*args)
# Do something later
end
end
-<% end -%> \ No newline at end of file
+<% end -%>