restpack-web 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restpack-web/context.rb +7 -7
- data/lib/restpack-web/version.rb +1 -1
- metadata +1 -1
data/lib/restpack-web/context.rb
CHANGED
@@ -54,15 +54,15 @@ module RestPack
|
|
54
54
|
user_debug_info = ""
|
55
55
|
if is_authenticated?
|
56
56
|
image_debug_info = ""
|
57
|
-
image_debug_info = " * **image** : #{@user[
|
57
|
+
image_debug_info = " * **image** : #{@user[:image]} ![Image](#{@user[:image]}" unless @user[:image].nil?
|
58
58
|
|
59
59
|
user_debug_info = %{
|
60
|
-
* **id** : #{@user[
|
61
|
-
* **name** : #{@user[
|
62
|
-
* **nickname** : #{@user[
|
63
|
-
* **location** : #{@user[
|
64
|
-
* **description** : #{@user[
|
65
|
-
#{image_debug_info}
|
60
|
+
* **id** : #{@user[:id]}
|
61
|
+
* **name** : #{@user[:name]}
|
62
|
+
* **nickname** : #{@user[:nickname]}
|
63
|
+
* **location** : #{@user[:location]}
|
64
|
+
* **description** : #{@user[:description]}
|
65
|
+
#{image_debug_info}
|
66
66
|
}
|
67
67
|
end
|
68
68
|
|
data/lib/restpack-web/version.rb
CHANGED