From c0e5905cccd9293b7753f5b5b0c03dfd4655638d Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Fri, 17 Jul 2015 09:28:39 +0900 Subject: add application_job.rb to template of mountable engine since cb012467214f6e4bb1ac3987554bb75020b4796b, generated job inherents from ApplicationJob, ApplicationJob is required in the mountable engine. --- .../templates/app/jobs/%namespaced_name%/application_job.rb.tt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 railties/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt (limited to 'railties/lib') diff --git a/railties/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt b/railties/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt new file mode 100644 index 0000000000..bad1ff2d16 --- /dev/null +++ b/railties/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt @@ -0,0 +1,5 @@ +<%= wrap_in_modules <<-rb.strip_heredoc + class ApplicationJob < ActiveJob::Base + end +rb +%> -- cgit v1.2.3