Improved code layout.
This commit is contained in:
parent
39ec771676
commit
81fc3969f3
1 changed files with 25 additions and 33 deletions
|
@ -42,7 +42,7 @@ add a new activity entry for an object
|
|||
# check newest entry - is needed
|
||||
result = ActivityStream.where(
|
||||
:o_id => data[:o_id],
|
||||
# :activity_stream_type_id => type_id,
|
||||
#:activity_stream_type_id => type_id,
|
||||
:role_id => role_id,
|
||||
:activity_stream_object_id => object_id,
|
||||
:created_by_id => data[:created_by_id]
|
||||
|
@ -118,12 +118,4 @@ return all activity entries of an user
|
|||
list
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
class Object < ApplicationModel
|
||||
end
|
||||
|
||||
class Type < ApplicationModel
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in a new issue