bastodon/app/controllers/settings/login_activities_controller.rb
2021-06-21 17:07:30 +02:00

7 rivejä
223 B
Ruby

# frozen_string_literal: true
class Settings::LoginActivitiesController < Settings::BaseController
def index
@login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
end
end