social_stream-base 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/activity.rb +3 -1
- data/lib/social_stream/base/version.rb +1 -1
- metadata +3 -3
data/app/models/activity.rb
CHANGED
@@ -186,7 +186,7 @@ class Activity < ActiveRecord::Base
|
|
186
186
|
I18n.t "activity.verb.#{ verb }.#{ receiver.subject_type }.title",
|
187
187
|
:subject => view.link_name(sender_subject),
|
188
188
|
:contact => view.link_name(receiver_subject)
|
189
|
-
when "post"
|
189
|
+
when "post", "update"
|
190
190
|
if sender == receiver
|
191
191
|
view.link_name sender_subject
|
192
192
|
else
|
@@ -194,6 +194,8 @@ class Activity < ActiveRecord::Base
|
|
194
194
|
:sender => view.link_name(sender_subject),
|
195
195
|
:receiver => view.link_name(receiver_subject)
|
196
196
|
end
|
197
|
+
else
|
198
|
+
"Must define activity title"
|
197
199
|
end.html_safe
|
198
200
|
end
|
199
201
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
9
|
+
- 5
|
10
|
+
version: 0.10.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- GING - DIT - UPM
|