added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class TopicFollowing
|
||||
include Topicable
|
||||
|
||||
def add_topic(key, value)
|
||||
return if send(key).include?(value)
|
||||
|
||||
send(key) << value
|
||||
|
||||
save
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user