Improved code layout.

This commit is contained in:
Martin Edenhofer 2014-12-31 15:07:56 +01:00
parent 39ec771676
commit 81fc3969f3

View file

@ -42,7 +42,7 @@ add a new activity entry for an object
# check newest entry - is needed # check newest entry - is needed
result = ActivityStream.where( result = ActivityStream.where(
:o_id => data[:o_id], :o_id => data[:o_id],
# :activity_stream_type_id => type_id, #:activity_stream_type_id => type_id,
:role_id => role_id, :role_id => role_id,
:activity_stream_object_id => object_id, :activity_stream_object_id => object_id,
:created_by_id => data[:created_by_id] :created_by_id => data[:created_by_id]
@ -118,12 +118,4 @@ return all activity entries of an user
list list
end end
private
class Object < ApplicationModel
end
class Type < ApplicationModel
end
end end