# ActivityEngine.register('PagesController', 'show') do |activity,context| # activity.subject = context.page # activity.current_user = context.current_user # activity.activity_type = 'pages#show' # activity.message = "A particulare message?" # end