mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
better rdoc for i18n
This commit is contained in:
parent
df5dca4fef
commit
587520d0ba
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
#
|
||||
# Simple middleware to save the current locale and restore it when the job executes.
|
||||
# Use it by requiring it in your initializer:
|
||||
#
|
||||
# require 'sidekiq/middleware/i18n'
|
||||
#
|
||||
module Sidekiq::Middleware::I18n
|
||||
# Get the current locale and store it in the message
|
||||
# to be sent to Sidekiq.
|
||||
|
|
Loading…
Reference in a new issue