Class: Collavre::Comments::ActivityLogsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/collavre/comments/activity_logs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
# File 'app/controllers/collavre/comments/activity_logs_controller.rb', line 7

def show
  @activity_logs = @comment.activity_logs.order(created_at: :desc)
  render partial: "collavre/comments/activity_log_details", locals: { activity_logs: @activity_logs, comment: @comment }
end