Update to rails 3.2.0
This commit is contained in:
parent
3d01016980
commit
ee411e5154
8 changed files with 92 additions and 73 deletions
|
@ -9,10 +9,8 @@ ActionMailer::Base.smtp_settings = {
|
|||
# Monkey patch to allow sending of messages in specific locales
|
||||
module ActionMailer
|
||||
class Base
|
||||
adv_attr_accessor :locale
|
||||
|
||||
def mail_with_locale(*args)
|
||||
old_locale= I18n.locale
|
||||
old_locale = I18n.locale
|
||||
|
||||
begin
|
||||
I18n.locale = @locale
|
||||
|
|
|
@ -8,3 +8,8 @@
|
|||
# inflect.irregular 'person', 'people'
|
||||
# inflect.uncountable %w( fish sheep )
|
||||
# end
|
||||
#
|
||||
# These inflection rules are supported but not enabled by default:
|
||||
# ActiveSupport::Inflector.inflections do |inflect|
|
||||
# inflect.acronym 'RESTful'
|
||||
# end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue