|
@ -138,7 +138,7 @@ class ApplicationController < LinguaFrancaApplicationController |
|
|
request, |
|
|
request, |
|
|
params, |
|
|
params, |
|
|
current_user, |
|
|
current_user, |
|
|
).deliver_now if Rails.env.preview? || Rails.env.production? |
|
|
).deliver_now! if Rails.env.preview? || Rails.env.production? |
|
|
end |
|
|
end |
|
|
render json: {} |
|
|
render json: {} |
|
|
end |
|
|
end |
|
@ -193,7 +193,7 @@ class ApplicationController < LinguaFrancaApplicationController |
|
|
request, |
|
|
request, |
|
|
params, |
|
|
params, |
|
|
current_user, |
|
|
current_user, |
|
|
).deliver_now if Rails.env.preview? || Rails.env.production? |
|
|
).deliver_now! if Rails.env.preview? || Rails.env.production? |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
# raise the error if we are in development so that we can debug it |
|
|
# raise the error if we are in development so that we can debug it |
|
@ -343,7 +343,7 @@ class ApplicationController < LinguaFrancaApplicationController |
|
|
request, |
|
|
request, |
|
|
params, |
|
|
params, |
|
|
current_user, |
|
|
current_user, |
|
|
).deliver_now if Rails.env.preview? || Rails.env.production? |
|
|
).deliver_now! if Rails.env.preview? || Rails.env.production? |
|
|
logger.info "Missing translation found for: #{key}" |
|
|
logger.info "Missing translation found for: #{key}" |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|