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