my_forum 0.0.1.beta38 → 0.0.1.beta39

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31f75c76f47fdee65be36da33f7542c0a3f23a0d
4
- data.tar.gz: d01efedd20e6ff6d653562bc33c0622e6cc4f98d
3
+ metadata.gz: 56c06afb2fe442843d3c6e8c064f9aa64121e5be
4
+ data.tar.gz: c47fce1bb43220e3c37a5188ec4c1cb92914c1c1
5
5
  SHA512:
6
- metadata.gz: 35ffc2e59280e2be0621d15121ec332332239c6631dee21debc59a7c04f9cb8904c2255e6025a7f0306c8392879d4d89206d1c7b8e4824bc210cfdd9cc4019d5
7
- data.tar.gz: dd15a84b6cea17291df8891de0551d9257d33c3f74f2fb34ba34c6a6646cb03b018f02d2da5c2413e57f6b682c0794a84046251764e04f5d8c72b44c39e2c8b0
6
+ metadata.gz: e080e35d185c6d13db970af4b4ca763eb78bf909b1ce3ad6b6f23d603be973056a9042cfc093eb8a539821facd33306cbfda4beae223c561bb92068a51f0c2c9
7
+ data.tar.gz: ab79704bed2bf2eb934cc5bfc41f35609076af93faa992ae53d26082556da7d6a655af0cf332305e417c2a2d3f45d7bbea9a914895f80c3fd613db61e30952d3
@@ -59,6 +59,7 @@ module MyForum
59
59
  if request.post?
60
60
  return unless user = User.find_by_email(params[:user][:email])
61
61
  UserMailer.reset_password_email(user).deliver_now
62
+ flash[:notice] = t('.new_password_sent')
62
63
  redirect_to root_path
63
64
  end
64
65
  end
@@ -130,6 +130,7 @@ ru:
130
130
  forgot_password:
131
131
  forgot_password_head: 'Восстановление пароля'
132
132
  reset_password: 'Сбросить пароль'
133
+ new_password_sent: 'Новый пароль отправлен на указанный email'
133
134
  edit:
134
135
  edit_profile: 'Редактирование персональных данных'
135
136
  email: 'Электронная почта'
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta38"
2
+ VERSION = "0.0.1.beta39"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta38
4
+ version: 0.0.1.beta39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko