Skip to content

Commit

Permalink
include paginator in delayed::job
Browse files Browse the repository at this point in the history
  • Loading branch information
r888888888 committed Dec 14, 2017
1 parent 41d4c33 commit ec81b87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/danbooru/paginator.rb
Expand Up @@ -4,3 +4,4 @@
require "danbooru/paginator/pagination_error"

ApplicationRecord.__send__(:include, Danbooru::Paginator::ActiveRecordExtension)
Delayed::Job.__send__(:include, Danbooru::Paginator::ActiveRecordExtension)

0 comments on commit ec81b87

Please sign in to comment.