my_forum 0.0.1.beta39 → 0.0.1.beta40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/my_forum/user.rb +1 -2
- data/app/views/my_forum/users/edit.haml +1 -1
- data/lib/my_forum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4055ac34872842e3d3f36d0fd082daccef16bd
|
4
|
+
data.tar.gz: 4f8f8d5020a6a96a1adb3b2c88a554bdf53f13de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f33157779996ac5b43fb00fbe4cdac5edd8b0dbf94b6a3b6b02876f2a1b1f5b9bed3e7b8f06e1ff1bfedf3d8018ecbfeb1125ec5bcc977749bcace82f6636876
|
7
|
+
data.tar.gz: 63279e078cc7a6b97ffbd1b686b5957f67eb9180680b713c221acb8e94e8cf1d6f8c62a1f3b374240a4b84a260f6f0e0f77a968b48fb92ea82c6f1d1f9099087
|
data/app/models/my_forum/user.rb
CHANGED
@@ -31,6 +31,6 @@
|
|
31
31
|
.col-md-4
|
32
32
|
= form_for current_user, url: user_path(current_user), role: 'form' do |form|
|
33
33
|
- additional_info_attrs.each do |attr|
|
34
|
-
.form-group= form.text_field attr, class: 'name form-control', placeholder: t("my_forum.additional_info.#{attr.to_s}")
|
34
|
+
.form-group= form.text_field attr, value: current_user.send(attr), class: 'name form-control', placeholder: t("my_forum.additional_info.#{attr.to_s}")
|
35
35
|
|
36
36
|
= form.submit t('.update'), class: 'btn btn-primary btn-sm'
|
data/lib/my_forum/version.rb
CHANGED