Sha256: 7bdeb30cac59e3ad983ac2bcfdd2ed8c3da41f6ffe4ddf612eb84761813573f0

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module LoggableActivity
  # Controller for activities
  class ActivitiesController < ApplicationController
    def index
      @activities = LoggableActivity::Activity.order(created_at: :desc).page params[:page]
    end

    def show; end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loggable_activity-0.5.7 app/controllers/loggable_activity/activities_controller.rb
loggable_activity-0.5.6 app/controllers/loggable_activity/activities_controller.rb
loggable_activity-0.5.4 app/controllers/loggable_activity/activities_controller.rb
loggable_activity-0.5.0 app/controllers/loggable_activity/activities_controller.rb